# New ports collection makefile for: Xerces # Date created: 2000/08/12 # Whom: Marcin Cieslak # # $FreeBSD$ # PORTNAME= xerces-j PORTVERSION= 2.9.0 PORTREVISION= 1 CATEGORIES= textproc java 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= hq@FreeBSD.org COMMENT= XML parser for Java CONFLICTS= xml4j-4.* USE_JAVA= yes JAVA_VERSION= 1.3+ USE_ANT= yes USE_JIKES= no WRKSRC= ${WRKDIR}/xerces-${PORTVERSION:S/./_/g} OPTIONS= DEPRECATED_JARS "build/install the deprecated JARs" on \ SAMPLES "build/install the samples" on DATADIR= ${JAVASHAREDIR}/${PORTNAME} .include ALL_TARGET= jars .if !defined(NOPORTDOCS) ALL_TARGET+= javadocs .if ${JAVA_PORT_VERSION:C/[0-9]\.([0-9])\.[0-9]/\1/} == "5" ALL_TARGET+= docs .endif PORTDOCS= * .endif JARFILES+= xercesImpl.jar xml-apis.jar .if !defined(WITHOUT_DEPRECATED_JARS) ALL_TARGET+= deprecatedjars DEPRECATED_JARFILES= xerces.jar xercesSamples.jar PLIST_FILES+= ${DEPRECATED_JARFILES:S,^,%%DATADIR%%/deprecated/,} PLIST_DIRS+= %%DATADIR%%/deprecated %%DATADIR%% .endif PLIST_FILES+= ${JARFILES:S,^,%%JAVAJARDIR%%/,} TOOLS_JARFILES= resolver.jar stylebook-1.0-b2.jar bin/xjavac.jar CLASSPATH!= ${ECHO_CMD} ${TOOLS_JARFILES:S,^,tools/,} | ${TR} " " ":" MAKE_ENV= CLASSPATH=${CLASSPATH} JAVA_PORT_API= ${LOCALBASE}/share/doc/jdk${JAVA_PORT_VERSION:C/([0-9]\.[0-9])\.[0-9]/\1/}/api .if exists(${JAVA_PORT_API}) MAKE_ARGS+= -Djdk.api="${JAVA_PORT_API}" .endif post-extract: @cd ${WRKSRC} && ${MV} ../tools . do-install: @${ECHO_MSG} -n ">> Installing JAR files in ${JAVAJARDIR}..." .for JARFILE in ${JARFILES} @cd ${WRKSRC}/build && ${INSTALL_DATA} ${JARFILE} ${JAVAJARDIR}/${JARFILE} @${ECHO_MSG} -n " ${JARFILE}" .endfor @${ECHO_MSG} " [ DONE ]" .if !defined(WITHOUT_DEPRECATED_JARS) @${ECHO_MSG} -n ">> Installing deprecated JAR files in ${DATADIR}/deprecated/..." @${MKDIR} ${DATADIR}/deprecated .for JARFILE in ${DEPRECATED_JARFILES} @cd ${WRKSRC}/build && ${INSTALL_DATA} ${JARFILE} ${DATADIR}/deprecated/${JARFILE} @${ECHO_MSG} -n " ${JARFILE}" .endfor @${ECHO_MSG} " [ DONE ]" .endif .if !defined(NOPORTDOCS) @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." @cd ${WRKSRC}/build/docs/ && \ ${FIND} . -type d -exec ${MKDIR} "${DOCSDIR}/{}" \; && \ ${FIND} . -not -type d -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \; @${ECHO_MSG} " [ DONE ]" .endif .if !defined(WITHOUT_SAMPLES) @${ECHO_MSG} -n ">> Installing samples in ${EXAMPLESDIR}..." @cd ${WRKSRC}/samples && \ ${FIND} . -type d -exec ${MKDIR} "${EXAMPLESDIR}/{}" \; && \ ${FIND} . -not -type d -exec ${INSTALL_DATA} "{}" "${EXAMPLESDIR}/{}" \; @${ECHO_MSG} " [ DONE ]" .endif .if !defined(WITHOUT_SAMPLES) post-install: @${FIND} -s ${WRKSRC}/samples -not -type d | \ ${SED} -ne 's,^${WRKSRC}/samples,${EXAMPLESDIR:S,${PREFIX}/,,},p' >> ${TMPPLIST} @${FIND} -s -d ${WRKSRC}/samples -type d | \ ${SED} -ne 's,^${WRKSRC}/samples,@dirrm ${EXAMPLESDIR:S,${PREFIX}/,,},p' >> ${TMPPLIST} .endif .include /npm_and_yarn/devel/electron6/files/elliptic-6.5.3 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Bump PORTREVISION some more due to missed previous commit.marcus2010-07-271-1/+1
* Fix the plist.marcus2010-07-272-4/+1
* - update to 1.4.1dinoex2010-03-281-1/+1
* - update to jpeg-8dinoex2010-02-051-1/+1
* - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-311-1/+1
* -Update to 0.6.23.mezz2008-07-042-3/+4
* Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1
* Allow ServiceTypeDatabase.py to find the services database.marcus2008-02-101-1/+5
* Update to 0.6.22ahze2007-12-212-11/+16
* Depend on avahi-app instead of avahiahze2007-10-291-1/+1
* Presenting GNOME 2.20.1 and all related works for FreeBSD. The officialmarcus2007-10-251-21/+5
* Update to 0.6.20.marcus2007-06-241-1/+1
* - Welcome X.org 7.2 \o/.flz2007-05-201-1/+1
* Update to 0.6.18, and add kqueue support for automatically processing servicemarcus2007-04-211-0/+4
* Update to 0.6.17.marcus2007-02-111-1/+1