summaryrefslogtreecommitdiffstats
path: root/textproc/xp/Makefile
blob: 60067bf4aae467186563b129fb9f61042817dc99 (plain)
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
# 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
COMMENT=	An XML parser written in Java

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

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>
OpenPOWER on IntegriCloud