81ede3a6b8
noticed by espie@
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.28 2008/03/26 13:07:04 sturm Exp $
|
|
|
|
COMMENT= xml parser for Java
|
|
|
|
V= 2.9.1
|
|
DISTNAME= Xerces-J-bin.${V}
|
|
PKGNAME= xerces-${V}p1
|
|
CATEGORIES= textproc
|
|
|
|
HOMEPAGE= http://xml.apache.org/xerces2-j/index.html
|
|
|
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
|
|
|
# Apache
|
|
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/ \
|
|
http://xml.apache.org/dist/xerces-j/old_xerces2/
|
|
|
|
TAR?= gtar
|
|
|
|
MODULES= java
|
|
MODJAVA_VER= 1.3+
|
|
MODJAVA_JRERUN= Yes
|
|
|
|
BUILD_DEPENDS= :gtar-*:archivers/gtar
|
|
|
|
NO_BUILD= Yes
|
|
NO_REGRESS= Yes
|
|
|
|
VFLAT= ${V:S/./_/g}
|
|
SUBST_VARS= VFLAT
|
|
WRKDIST= ${WRKDIR}/xerces-${VFLAT}
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/java/classes/xerces-${VFLAT}
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/java/xerces-${VFLAT}
|
|
${INSTALL_DATA} ${WRKSRC}/*.jar ${PREFIX}/share/java/classes/xerces-${VFLAT}
|
|
cp -R ${WRKSRC}/docs ${PREFIX}/share/java/xerces-${VFLAT}
|
|
cp -R ${WRKSRC}/data ${PREFIX}/share/java/xerces-${VFLAT}
|
|
cp -R ${WRKSRC}/samples ${PREFIX}/share/java/xerces-${VFLAT}
|
|
|
|
.include <bsd.port.mk>
|