blob: 52a4f5544e7e4b980b295d47ac1a54922911f458 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# $NetBSD: Makefile,v 1.5 2008/07/14 12:56:13 joerg Exp $
#
DISTNAME= jdom-1.0
CATEGORIES= textproc
MASTER_SITES= http://www.jdom.org/dist/binary/
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.jdom.org/
COMMENT= Simple API for processing XML documents in Java
PKG_DESTDIR_SUPPORT= user-destdir
BUILD_DEPENDS+= zip-[0-9]*:../../archivers/zip
USE_LANGUAGES= # only Java
USE_TOOLS+= pax
AUTO_MKDIRS= 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"
|