diff options
author | hq <hq@FreeBSD.org> | 2004-08-10 01:56:31 +0800 |
---|---|---|
committer | hq <hq@FreeBSD.org> | 2004-08-10 01:56:31 +0800 |
commit | fd584b7bbb661d30ef181b14c90c26acbc020620 (patch) | |
tree | 6e0fdd783f23f2dc0fb0afb47cc36e1e55c2d1aa /textproc | |
parent | b764809171f5c1ea00030620c6ded066154d3f62 (diff) | |
download | freebsd-ports-gnome-fd584b7bbb661d30ef181b14c90c26acbc020620.tar.gz freebsd-ports-gnome-fd584b7bbb661d30ef181b14c90c26acbc020620.tar.zst freebsd-ports-gnome-fd584b7bbb661d30ef181b14c90c26acbc020620.zip |
- Use USE_ANT
- Use %%JAVAJARDIR%%
- Use my FreeBSD email address in MAINTAINER field
Approved by: glewis (mentor)
Diffstat (limited to 'textproc')
-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} |