openbsd-ports/textproc/xerces/Makefile
2002-03-21 21:25:50 +00:00

42 lines
1002 B
Makefile

# $OpenBSD: Makefile,v 1.14 2002/03/21 21:25:54 espie Exp $
COMMENT= "xml parser for Java"
ONLY_FOR_ARCHS= i386
JDK_VERSION= 1.1.8
DISTNAME= Xerces-J-bin.1.4.4
PKGNAME= xerces-1.4.4
CATEGORIES= textproc
NEED_VERSION= 1.515
HOMEPAGE= http://xml.apache.org/xerces-j/index.html
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://xml.apache.org/dist/xerces-j/
TAR?= gtar
BUILD_DEPENDS= ::archivers/gtar
RUN_DEPENDS= ::devel/jdk/1.1
NO_BUILD= Yes
WRKDIST= ${WRKDIR}/xerces-1_4_4
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/java/classes/xerces-1_4_4
${INSTALL_DATA_DIR} ${PREFIX}/share/java/xerces-1_4_4
cp ${WRKSRC}/*.jar ${PREFIX}/share/java/classes/xerces-1_4_4
cp -R ${WRKSRC}/docs ${PREFIX}/share/java/xerces-1_4_4
cp -R ${WRKSRC}/data ${PREFIX}/share/java/xerces-1_4_4
cp -R ${WRKSRC}/samples ${PREFIX}/share/java/xerces-1_4_4
.include <bsd.port.mk>