mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
9c526f7217
suppress any reference to JAVA_VERSION= 1.5+ (part3)
34 lines
770 B
Makefile
34 lines
770 B
Makefile
# Created by: 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= gabor@FreeBSD.org
|
|
COMMENT= Multi-format schema converter based on RELAX NG
|
|
|
|
USE_ZIP= yes
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.6+
|
|
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>
|