1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/textproc/jing/Makefile
Mathieu Arnold 2884d5aa32 Fixup USE_GITHUB usage.
It already sets DISTNAME to a very nice unique name, do not set it
yourself.

Sponsored by:	Absolight
2016-11-26 10:09:54 +00:00

42 lines
825 B
Makefile

# Created by: Kimura Fuyuki <fuyuki@mj.0038.net>
# $FreeBSD$
PORTNAME= jing
PORTVERSION= 2015.11.27
CATEGORIES= textproc java
MAINTAINER= gabor@FreeBSD.org
COMMENT= RELAX NG validator in Java
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/copying.txt
USE_GITHUB= yes
GH_ACCOUNT= relaxng
GH_PROJECT= jing-trang
GH_TAGNAME= 1e74846
USE_JAVA= yes
JAVA_VERSION= 1.6+
JAVA_BUILD= yes
JAVA_RUN= yes
OPTIONS_DEFINE= DOCS
PORTDOCS= *
SUB_FILES= jing.sh
PLIST_FILES= bin/jing %%JAVAJARDIR%%/jing.jar
do-build:
(cd ${WRKSRC} && JAVA_HOME=${JAVA_HOME} ./ant)
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/jing.sh ${STAGEDIR}${PREFIX}/bin/jing
${INSTALL_DATA} ${WRKSRC}/build/jing.jar ${STAGEDIR}${JAVAJARDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>