summaryrefslogtreecommitdiff
path: root/textproc/jdom/Makefile
blob: 036da870421a1da715ad2cd3652dc8cc252cab50 (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
# $NetBSD: Makefile,v 1.3 2008/03/04 11:02:25 rillig 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

BUILD_DEPENDS+=	zip-[0-9]*:../../archivers/zip

USE_LANGUAGES=	# only Java
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"