2004-02-29 15:11:39 +01:00
|
|
|
# New ports collection makefile for: Trang
|
|
|
|
# Date created: 22 January 2004
|
|
|
|
# Whom: Kimura Fuyuki <fuyuki@nigredo.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= trang
|
2008-12-04 20:53:25 +01:00
|
|
|
PORTVERSION= 2008.10.28
|
2005-02-06 02:53:52 +01:00
|
|
|
CATEGORIES= textproc java
|
2008-12-04 20:53:25 +01:00
|
|
|
MASTER_SITES= http://jing-trang.googlecode.com/files/
|
2004-02-29 15:11:39 +01:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
|
|
|
|
|
2012-06-11 17:43:59 +02:00
|
|
|
MAINTAINER= gabor@FreeBSD.org
|
2004-02-29 15:11:39 +01:00
|
|
|
COMMENT= Multi-format schema converter based on RELAX NG
|
|
|
|
|
|
|
|
USE_ZIP= yes
|
2005-02-06 02:53:52 +01:00
|
|
|
USE_JAVA= yes
|
2011-07-21 07:03:02 +02:00
|
|
|
JAVA_VERSION= 1.5+
|
2005-02-06 02:53:52 +01:00
|
|
|
NO_BUILD= yes
|
2004-02-29 15:11:39 +01:00
|
|
|
|
2005-02-06 02:53:52 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= copying.txt trang-manual.html
|
|
|
|
.endif
|
2004-02-29 15:11:39 +01:00
|
|
|
|
2005-02-06 02:53:52 +01:00
|
|
|
SUB_FILES= trang.sh
|
|
|
|
PLIST_FILES= %%JAVAJARDIR%%/trang.jar bin/trang
|
2004-02-29 15:11:39 +01:00
|
|
|
|
|
|
|
do-install:
|
2005-02-06 02:53:52 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/trang.jar ${JAVAJARDIR}
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/trang.sh ${PREFIX}/bin/trang
|
2004-02-29 15:11:39 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|