aboutsummaryrefslogtreecommitdiffstats
path: root/astro/prune/Makefile
blob: 7a6397fa1df65f694998ac81b1a2d13f4b4530e8 (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
# New ports collection makefile for:    prune
# Date created:     25 Jun 2009
# Whom:         Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   prune
PORTVERSION=    7
PORTREVISION=   2
CATEGORIES= astro java
MASTER_SITES=   http://activityworkshop.net/software/prune/ \
        http://mirror.amdmi3.ru/distfiles/
DISTNAME=   ${PORTNAME}_0${PORTVERSION}.jar
EXTRACT_SUFX=   # empty
EXTRACT_ONLY=   # empty

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

NO_WRKSUBDIR=   yes
NO_BUILD=   yes

USE_JAVA=   yes
JAVA_VERSION=   1.5+

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

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

do-install:
    ${MKDIR} ${JAVAJARDIR}/
    ${INSTALL_DATA} ${DISTDIR}/${DISTNAME} ${JAVAJARDIR}/
    ${INSTALL_SCRIPT} ${WRKDIR}/prune.sh ${PREFIX}/bin/prune${PORTVERSION}

.include <bsd.port.mk>