openbsd-ports/textproc/xerces/Makefile

42 lines
1011 B
Makefile

# $OpenBSD: Makefile,v 1.15 2002/06/09 05:37:15 wilfried 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= :gtar-*: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>