6a13dc6824
- adjust java.port.mk for their removal - bump affected packages okay jasper@
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.36 2011/10/07 13:54:31 kurt Exp $
|
|
|
|
COMMENT= xml parser for Java
|
|
|
|
V= 2.9.1
|
|
DISTNAME= Xerces-J-bin.${V}
|
|
PKGNAME= xerces-${V}
|
|
REVISION = 8
|
|
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= 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>
|