freebsd-ports/textproc/trang/Makefile
Martin Wilke 2cc89d143f - Update to 2008.10.28
PR:		129273
Submitted by:	Aragon Gouveia <aragon@phat.za.net>
2008-12-04 19:53:25 +00:00

37 lines
883 B
Makefile

# New ports collection makefile for: Trang
# Date created: 22 January 2004
# Whom: Kimura Fuyuki <fuyuki@nigredo.org>
#
# $FreeBSD$
#
PORTNAME= trang
PORTVERSION= 2008.10.28
CATEGORIES= textproc java
MASTER_SITES= http://jing-trang.googlecode.com/files/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
MAINTAINER= ports@FreeBSD.org
COMMENT= Multi-format schema converter based on RELAX NG
USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.4+
NO_BUILD= yes
.if !defined(NOPORTDOCS)
PORTDOCS= copying.txt trang-manual.html
.endif
SUB_FILES= trang.sh
PLIST_FILES= %%JAVAJARDIR%%/trang.jar bin/trang
do-install:
${INSTALL_DATA} ${WRKSRC}/trang.jar ${JAVAJARDIR}
${INSTALL_SCRIPT} ${WRKDIR}/trang.sh ${PREFIX}/bin/trang
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>