2008-06-23 22:46:21 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.29 2008/06/24 02:46:21 kurt Exp $
|
2001-05-06 00:11:38 -04:00
|
|
|
|
2007-09-15 16:59:36 -04:00
|
|
|
COMMENT= xml parser for Java
|
2001-03-02 11:06:30 -05:00
|
|
|
|
2008-01-15 03:47:09 -05:00
|
|
|
V= 2.9.1
|
|
|
|
DISTNAME= Xerces-J-bin.${V}
|
2008-06-23 22:46:21 -04:00
|
|
|
PKGNAME= xerces-${V}p2
|
2001-01-02 22:32:34 -05:00
|
|
|
CATEGORIES= textproc
|
|
|
|
|
2002-09-19 02:06:27 -04:00
|
|
|
HOMEPAGE= http://xml.apache.org/xerces2-j/index.html
|
2001-01-02 22:32:34 -05:00
|
|
|
|
|
|
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
|
|
|
|
2003-11-15 10:12:53 -05:00
|
|
|
# Apache
|
2001-01-02 22:32:34 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2006-02-05 13:25:48 -05:00
|
|
|
MASTER_SITES= http://xml.apache.org/dist/xerces-j/ \
|
|
|
|
http://xml.apache.org/dist/xerces-j/old_xerces2/
|
2001-01-02 22:32:34 -05:00
|
|
|
|
2001-08-17 23:56:07 -04:00
|
|
|
TAR?= gtar
|
|
|
|
|
2005-06-17 18:19:02 -04:00
|
|
|
MODULES= java
|
|
|
|
MODJAVA_VER= 1.3+
|
|
|
|
MODJAVA_JRERUN= Yes
|
|
|
|
|
2002-06-09 01:31:40 -04:00
|
|
|
BUILD_DEPENDS= :gtar-*:archivers/gtar
|
2001-01-02 22:32:34 -05:00
|
|
|
|
|
|
|
NO_BUILD= Yes
|
2002-10-28 17:43:46 -05:00
|
|
|
NO_REGRESS= Yes
|
2001-01-02 22:32:34 -05:00
|
|
|
|
2008-01-15 03:47:09 -05:00
|
|
|
VFLAT= ${V:S/./_/g}
|
|
|
|
SUBST_VARS= VFLAT
|
|
|
|
WRKDIST= ${WRKDIR}/xerces-${VFLAT}
|
2001-01-02 22:32:34 -05:00
|
|
|
|
|
|
|
do-install:
|
2008-01-15 03:47:09 -05:00
|
|
|
${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}
|
2001-01-02 22:32:34 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|