1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/textproc/trang/Makefile
Herve Quiroz e8675d3b86 - Update to bsd.java.mk 2.0
- Add 'java' category
- Add a plain file for launcher shell script
- Use PLIST_FILES (and remove pkg-plist)
2005-02-06 01:53:52 +00:00

38 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= 2003.06.19
CATEGORIES= textproc java
MASTER_SITES= http://www.thaiopensource.com/download/
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>