1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/textproc/jing/Makefile
Mathieu Arnold 49be89bdea Fix build, and let bsdtar unzip the distfile.
Pointy hat to:	mat
Sponsored by:	Absolight
2014-01-29 13:41:17 +00:00

39 lines
945 B
Makefile

# Created by: Kimura Fuyuki <fuyuki@mj.0038.net>
# $FreeBSD$
PORTNAME= jing
PORTVERSION= 2008.10.28
CATEGORIES= textproc java
MASTER_SITES= http://jing-trang.googlecode.com/files/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
EXTRACT_SUFX= .zip
MAINTAINER= gabor@FreeBSD.org
COMMENT= A RELAX NG validator in Java
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/doc/copying.html
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
OPTIONS_DEFINE= DOCS EXAMPLES
PORTDOCS= *
PORTEXAMPLES= *
SUB_FILES= jing.sh
PLIST_FILES= bin/jing %%JAVAJARDIR%%/jing.jar
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/jing.sh ${STAGEDIR}${PREFIX}/bin/jing
${INSTALL_DATA} ${WRKSRC}/bin/jing.jar ${STAGEDIR}${JAVAJARDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.html ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
(cd ${WRKSRC}/sample && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>