1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/textproc/dtd2relax/Makefile
Dmitry Marakasov c243b793e7 - Add NO_ARCH
- Switch to options helpers
2016-02-17 19:12:11 +00:00

40 lines
978 B
Makefile

# Created by: Kimura Fuyuki <fuyuki@mj.0038.net>
# $FreeBSD$
PORTNAME= dtd2relax
PORTVERSION= 1.1.1
PORTREVISION= 2
CATEGORIES= textproc java
MASTER_SITES= http://www.horobi.com/Projects/RELAX/Archive/
DISTNAME= ${PORTNAME:tu}_${PORTVERSION:S/./_/g}
DISTFILES= ${JARFILE} ${DISTNAME}-src${EXTRACT_SUFX}
EXTRACT_ONLY= ${DISTNAME}-src${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= DTD to RELAX converter for Java
USES= zip
USE_JAVA= yes
NO_BUILD= yes
NO_ARCH= yes
JARFILE= ${DISTNAME}-bin-XML4J.jar
PLIST_FILES= ${JAVAJARDIR:S/${PREFIX}\///}/dtd2relax.jar
PORTDOCS= *
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
${INSTALL_DATA} ${DISTDIR}/${JARFILE} ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/samples/* ${STAGEDIR}${EXAMPLESDIR}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>