diff options
author | Herve Quiroz <hq@FreeBSD.org> | 2004-08-09 17:56:31 +0000 |
---|---|---|
committer | Herve Quiroz <hq@FreeBSD.org> | 2004-08-09 17:56:31 +0000 |
commit | d333ea0903bcc1265c7072db41dc5176b4f61fa5 (patch) | |
tree | 736a1146c47b3b867480b1ef3b5b0563e618f5ea /textproc/xerces-j | |
parent | 0acb6da8b927d2e30978dd99f43431303a69249f (diff) | |
download | ports-d333ea0903bcc1265c7072db41dc5176b4f61fa5.tar.gz ports-d333ea0903bcc1265c7072db41dc5176b4f61fa5.zip |
- Use USE_ANT
- Use %%JAVAJARDIR%%
- Use my FreeBSD email address in MAINTAINER field
Approved by: glewis (mentor)
Notes
Notes:
svn path=/head/; revision=115758
Diffstat (limited to 'textproc/xerces-j')
-rw-r--r-- | textproc/xerces-j/Makefile | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/textproc/xerces-j/Makefile b/textproc/xerces-j/Makefile index 63749244216d..9ad6e0e03cbb 100644 --- a/textproc/xerces-j/Makefile +++ b/textproc/xerces-j/Makefile @@ -13,15 +13,14 @@ MASTER_SITES= ${MASTER_SITE_APACHE_XML} MASTER_SITE_SUBDIR= xerces-j/source DISTFILES= Xerces-J-src.${PORTVERSION}${EXTRACT_SUFX} Xerces-J-tools.${PORTVERSION}${EXTRACT_SUFX} -MAINTAINER= herve.quiroz@esil.univ-mrs.fr +MAINTAINER= hq@FreeBSD.org COMMENT= XML parser for Java CONFLICTS= xml4j-4.* -BUILD_DEPENDS= ${ANT}:${PORTSDIR}/devel/apache-ant - USE_JAVA= yes JAVA_VERSION= 1.3+ +USE_ANT= yes WRKSRC= ${WRKDIR}/xerces-${PORTVERSION:S/./_/g} @@ -30,34 +29,30 @@ OPTIONS= DEPRECATED_JARS "build/install the deprecated JARs" on \ .include <bsd.port.pre.mk> -ANT?= ${LOCALBASE}/bin/ant -ANT_TARGETS= jars +ALL_TARGET= jars .if !defined(NOPORTDOCS) -ANT_TARGETS+= javadocs #docs +ALL_TARGET+= javadocs #docs PORTDOCS= api dom3-api other xerces2 xni xs .endif JARFILES+= xercesImpl.jar xml-apis.jar .if !defined(WITHOUT_DEPRECATED_JARS) -ANT_TARGETS+= deprecatedjars +ALL_TARGET+= deprecatedjars JARFILES+= xerces.jar xmlParserAPIs.jar resolver.jar .endif .if !defined(WITHOUT_SAMPLES) JARFILES+= xercesSamples.jar .endif -PLIST_FILES+= ${JARFILES:S,^,${JAVAJARDIR:S,${PREFIX}/,,}/,} +PLIST_FILES+= ${JARFILES:S,^,%%JAVAJARDIR%%/,} TOOLS_JARFILES= resolver.jar stylebook-1.0-b2.jar bin/xjavac.jar +CLASSPATH!= echo ${TOOLS_JARFILES:S,^,tools/,} | ${TR} " " ":" +MAKE_ENV= CLASSPATH=${CLASSPATH} post-extract: @cd ${WRKSRC} && ${MV} ../tools . -do-build: - @cd ${WRKSRC} && \ - ${SETENV} CLASSPATH=`echo ${TOOLS_JARFILES:S,^,tools/,} | \ - ${TR} " " ":"` ${ANT} ${ANT_TARGETS} - do-install: @${ECHO_MSG} -n ">> Installing JAR files in ${JAVAJARDIR}..." @${MKDIR} ${JAVAJARDIR} |