mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
4a4ec28d37
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a replacement for :U and :L (which has been marked as deprecated) bmake which is the default on FreeBSD 10+ only support by default :tu/:tl a hack has been added at the time to support :U and :L to ease migration. This hack is now not necessary anymore Note that this makes the ports tree incompatible with make(1) from FreeBSD 8.3 or earlier With hat: portmgr
35 lines
919 B
Makefile
35 lines
919 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
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
JARFILE= ${DISTNAME}-bin-XML4J.jar
|
|
PLIST_FILES= ${JAVAJARDIR:S/${PREFIX}\///}/dtd2relax.jar
|
|
PORTDOCS= *
|
|
PORTEXAMPLES= *
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${DISTDIR}/${JARFILE} ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/samples/* ${STAGEDIR}${EXAMPLESDIR}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|