aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/xp/Makefile
blob: a42685ff25f6f0c6a237945a407cc0039df2c242 (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
# New ports collection makefile for:   xp
# Version required:    0.5
# Date created:        21 September 1999
# Whom:                mike
#
# $FreeBSD$
#

DISTNAME=   xp
PKGNAME=    xp-0.5
CATEGORIES= textproc java
MASTER_SITES=   ftp://ftp.jclark.com/pub/xml/

MAINTAINER=     mike@vee.net

RUN_DEPENDS=    ${LOCALBASE}/jdk1.1.8/bin/java:${PORTSDIR}/java/jdk

XP_VERSION= 0.5
PLIST_SUB+= XP_VERSION=${XP_VERSION}

NO_WORKSUBDIR=  yes
NO_BUILD=   yes
USE_ZIP=    yes

.include <bsd.port.pre.mk>

do-install:
    ${MKDIR} ${PREFIX}/share/java/classes ${PREFIX}/share/java/${PKGNAME}
    ${INSTALL_DATA} \
        ${WRKDIR}/xp.jar \
        ${PREFIX}/share/java/classes/${PKGNAME}.jar
    cd ${WRKDIR}; \
        ${CP} -R docs ${PREFIX}/share/java/${PKGNAME}; \
        ${CP} -R com ${PREFIX}/share/java/${PKGNAME}

.include <bsd.port.post.mk>