-
Notifications
You must be signed in to change notification settings - Fork 87
/
Makefile
43 lines (30 loc) · 920 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# $OpenBSD $
COMMENT= GpsPrune is application for working with GPS data
V= 13.2
DISTNAME= gpsprune_${V}
DISTFILES= ${DISTNAME}.jar
PKGNAME= gpsprune-${V}
CATEGORIES= geo
MAINTAINER= Sergey Bronnikov <estetus@gmail.com>
HOMEPAGE= http://activityworkshop.net/software/gpsprune/
# GPL
PERMIT_PACKAGE_CDROM= GPL
PERMIT_DISTFILES_CDROM= GPL
MASTER_SITES= ${HOMEPAGE}
MODULES= java
MODJAVA_VER= 1.5+
MODJAVA_JRERUN= Yes
MAKE_ENV+= JAVA_HOME=${JAVA_HOME}
RUN_DEPENDS= java/javaPathHelper
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
INSTALL_DIR = gpsprune
do-extract:
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/${INSTALL_DIR}
${INSTALL_DATA} ${DISTDIR}/${DISTNAME}.jar ${PREFIX}/share/${INSTALL_DIR}/gpsprune.jar
${INSTALL_DATA} ${FILESDIR}/gpsprune ${PREFIX}/bin/
chown ${BINOWN}:${BINGRP} $(PREFIX)/bin/gpsprune
chmod +x $(PREFIX)/bin/gpsprune
.include <bsd.port.mk>