aboutsummaryrefslogtreecommitdiffstats
path: root/palm/jpilot-db/Makefile
blob: 06de757f928047c80b12b35d37082c705ce28e89 (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
# ex:ts=8
# Ports collection makefile for:    jpilot-db
# Date created:         Sep 22, 2006
# Whom:             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= ijliao@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.3+
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>