diff options
Diffstat (limited to 'textproc/jdom/Makefile')
-rw-r--r-- | textproc/jdom/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/textproc/jdom/Makefile b/textproc/jdom/Makefile new file mode 100644 index 00000000000..63a289b2367 --- /dev/null +++ b/textproc/jdom/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/10/19 11:07:34 rillig Exp $ +# + +DISTNAME= jdom-1.0 +CATEGORIES= textproc +MASTER_SITES= http://www.jdom.org/dist/binary/ +EXTRACT_SUFX= .zip + +MAINTAINER= rillig@NetBSD.org +HOMEPAGE= http://www.jdom.org/ +COMMENT= Simple API for processing XML documents in Java + +BUILD_DEPENDS+= zip-[0-9]*:../../archivers/zip + +USE_LANGUAGES= # only Java +INSTALLATION_DIRS_FROM_PLIST= yes + +do-build: + cd ${WRKSRC}/src/java && ${LOCALBASE}/bin/zip -r ${WRKSRC}/jdom-src.zip org + +do-install: + cd ${WRKSRC} && ${INSTALL_DATA} build/jdom.jar jdom-src.zip ${DESTDIR}${PREFIX}/lib/java/ + cd ${WRKSRC}/build/apidocs && pax -wr * ${DESTDIR}${PREFIX}/share/doc/jdom/ + +.include "../../mk/bsd.pkg.mk" |