aboutsummaryrefslogtreecommitdiff
path: root/astro/gpsprune/Makefile
blob: d0b5bbbf40f0ebc5dd2cbbb349009101daa99086 (plain) (blame)
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
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$

PORTNAME=	gpsprune
PORTVERSION=	18.6
CATEGORIES=	astro java
MASTER_SITES=	http://activityworkshop.net/software/${PORTNAME}/ \
		http://mirror.amdmi3.ru/distfiles/
DISTNAME=	${PORTNAME}_${PORTVERSION}.jar
EXTRACT_SUFX=	# empty
EXTRACT_ONLY=	# empty

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	Application for viewing, editing, and converting GPS coordinate data

LICENSE=	GPLv2

NO_WRKSUBDIR=	yes
NO_BUILD=	yes
NO_ARCH=	yes

USE_JAVA=	yes
JAVA_VERSION=	1.6+

SUB_FILES=	gpsprune.sh
SUB_LIST=	JARNAME=${DISTNAME}

PLIST_FILES=	bin/gpsprune ${JAVAJARDIR:C,${PREFIX}/?,,}/${DISTNAME}

OPTIONS_DEFINE=	JAVA3D
JAVA3D_DESC=	Support for 3D view of track

JAVA3D_RUN_DEPENDS=	java3d>=1.5.2:java/java3d

do-install:
	@${MKDIR} ${STAGEDIR}${JAVAJARDIR}/
	${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${STAGEDIR}${JAVAJARDIR}/
	${INSTALL_SCRIPT} ${WRKDIR}/gpsprune.sh ${STAGEDIR}${PREFIX}/bin/gpsprune

.include <bsd.port.mk>