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

PORTNAME=   xp
PORTVERSION=    0.5
CATEGORIES= textproc java
MASTER_SITES=   ftp://ftp.jclark.com/pub/xml/
DISTNAME=   ${PORTNAME}

MAINTAINER=     mike@vee.net

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

PLIST_SUB+= XP_VERSION=${PORTVERSION}

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>