aboutsummaryrefslogtreecommitdiffstats
path: root/palm/jpilot-db/Makefile
blob: d0bd860407bd4f8c3dd2ea502c5db7c3911f1fc9 (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
# Created by: ijliao
# $FreeBSD$

PORTNAME=   jpilot-db
PORTVERSION=    1.3.20
PORTREVISION=   2
CATEGORIES= palm java
MASTER_SITES=   http://chickenshick.com/jpilot-db/download/
EXTRACT_SUFX=   -ej.jar

MAINTAINER= ports@FreeBSD.org
COMMENT=    A desktop app for pilot-db

NO_WRKSUBDIR=   yes
EXTRACT_CMD=    ${CP}
EXTRACT_BEFORE_ARGS=    # empty
EXTRACT_AFTER_ARGS= .
USE_JAVA=   yes
JAVA_VERSION=   1.6+
NO_BUILD=   yes
SUB_FILES=  jpilot-db.sh
SUB_LIST=   PKGNAME=${PKGNAME}
DATADIR=    ${JAVASHAREDIR}/${PORTNAME}

PLIST_FILES=    bin/jpilot-db \
        %%DATADIR%%/${PKGNAME}.jar
PLIST_DIRS= %%DATADIR%%

do-install:
    ${INSTALL_SCRIPT} ${WRKDIR}/jpilot-db.sh ${PREFIX}/bin/jpilot-db
    @${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/${DISTFILES} ${DATADIR}/${PKGNAME}.jar

.include <bsd.port.mk>