diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2004-06-28 21:13:21 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2004-06-28 21:13:21 +0000 |
commit | d04bda43c354813eef4a9f654db63314dfd8fcc1 (patch) | |
tree | f854eb02d0d76fbbcf89505e808c0282bf12159b /textproc/saxon/Makefile | |
parent | 4d6010c9b0eb47bd654f2dce3fb266955f63a3de (diff) | |
download | ports-d04bda43c354813eef4a9f654db63314dfd8fcc1.tar.gz ports-d04bda43c354813eef4a9f654db63314dfd8fcc1.zip |
. Update to 6.5.3.
. Use MASTER_SITE_SOURCEFORGE_EXTENDED rather than MASTER_SITE_SOURCEFORGE.
. Make it bsd.java.mk 2.0 compliant.
. Reduced packing list by using PLIST_FILES and PORTDOCS.
. Various cosmetic changes.
PR: 68447
Submitted by: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
Notes
Notes:
svn path=/head/; revision=112498
Diffstat (limited to 'textproc/saxon/Makefile')
-rw-r--r-- | textproc/saxon/Makefile | 43 |
1 files changed, 32 insertions, 11 deletions
diff --git a/textproc/saxon/Makefile b/textproc/saxon/Makefile index 9786c6067dad..818feef98d47 100644 --- a/textproc/saxon/Makefile +++ b/textproc/saxon/Makefile @@ -6,9 +6,9 @@ # PORTNAME= saxon -PORTVERSION= 6.5.2 +PORTVERSION= 6.5.3 CATEGORIES= textproc java -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} MASTER_SITE_SUBDIR= saxon DISTNAME= ${PORTNAME}${PORTVERSION:S/./_/g} @@ -16,21 +16,42 @@ MAINTAINER= ports@FreeBSD.org COMMENT= An XSLT processor for Java USE_ZIP= yes -USE_JAVA= 1.1+ +USE_JAVA= yes +JAVA_VERSION= 1.1+ NO_WRKSUBDIR= yes NO_BUILD= yes -NO_BUILD_DEPENDS_JAVA= yes +JARFILES= saxon-jdom.jar saxon.jar +PLIST_FILES+= ${JARFILES:S,^,${JAVAJARDIR:S,^${PREFIX}/,,}/,} +.if !defined(NOPORTDOCS) +PORTDOCS= api api-guide.html changes.html changes5.html conditions.html conformance.html dtdgen.html expressions.html extensibility.html extensions.html history.html index.html instant.html patterns.html samples.html saxon-style.css using-xsl.html xsl-elements.html +.endif -do-install: - ${INSTALL_DATA} ${WRKSRC}/*.jar ${JAVAJARDIR} +post-extract: + @${RMDIR} ${WRKSRC}/samples/ot -post-install: - ${MKDIR} ${EXAMPLESDIR} - ${CP} -R ${WRKSRC}/samples/* ${EXAMPLESDIR} +do-install: + @${ECHO_MSG} -n ">> Installing JARs in ${JAVAJARDIR}..." + @${MKDIR} ${JAVAJARDIR} +.for JARFILE in ${JARFILES} + @${ECHO_MSG} -n " ${JARFILE}" + @${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${JAVAJARDIR}/ +.endfor + @${ECHO_MSG} " [ DONE ]" + @${ECHO_MSG} -n ">> Installing samples in ${EXAMPLESDIR}..." + @${MKDIR} ${EXAMPLESDIR} + @${CP} -R ${WRKSRC}/samples/* ${EXAMPLESDIR}/ + @${CHOWN} -h -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR} + @${ECHO_MSG} " [ DONE ]" .if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${CP} -R ${WRKSRC}/doc/* ${DOCSDIR} + @${ECHO_MSG} -n ">> Installing documentation..." + @${MKDIR} ${DOCSDIR} +.for DOCFILE in ${PORTDOCS} + @${ECHO_MSG} -n " ${DOCFILE}" + @${CP} -R ${WRKSRC}/doc/${DOCFILE} ${DOCSDIR}/ +.endfor + @${CHOWN} -h -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} + @${ECHO_MSG} " [ DONE ]" .endif .include <bsd.port.mk> |