mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
da175cf39a
. While I'm here: . Collapse the post-install target into do-install, . Respect NOPORTDOCS for all the docs. . Use PORTDOCS to greatly simplify the packing list.
38 lines
810 B
Makefile
38 lines
810 B
Makefile
# New ports collection makefile for: jing
|
|
# Date created: 3 February 2002
|
|
# Whom: Kimura Fuyuki <fuyuki@mj.0038.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= jing
|
|
PORTVERSION= 2003.06.19
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://www.thaiopensource.com/download/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A RELAX NG validator in Java
|
|
|
|
USE_ZIP= yes
|
|
USE_JAVA= 1.4+
|
|
NO_BUILD= yes
|
|
|
|
NO_BUILD_DEPENDS_JAVA= yes
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
PORTDOCS= *
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/bin/jing.jar ${JAVAJARDIR}
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
|
|
${CP} -R ${WRKSRC}/doc ${DOCSDIR}
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
${CP} -R ${WRKSRC}/sample/* ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|