diff options
author | Herve Quiroz <hq@FreeBSD.org> | 2004-09-01 13:41:33 +0000 |
---|---|---|
committer | Herve Quiroz <hq@FreeBSD.org> | 2004-09-01 13:41:33 +0000 |
commit | 672d6a7f88fae6b9409f77c57b11421ce1e81a7f (patch) | |
tree | 4d21c68796b0ed3b7a62be5d43d72623bbb2aff2 /java | |
parent | - Fixed MASTER_SITE_SUBDIR (binary and source releases are the same so this is (diff) |
- Now bsd.java.mk 2.0 compliant
- Cosmetic changes: removed some unnecessary variable
- Use CPIO rather than MKDIR/INSTALL_DATA
- Added 'textproc' category
- Use my FreeBSD address for maintainership purposes
- Removed my name from pkg-descr
Approved by: glewis (mentor)
Notes
Notes:
svn path=/head/; revision=117831
Diffstat (limited to 'java')
-rw-r--r-- | java/jaxen/Makefile | 22 | ||||
-rw-r--r-- | java/jaxen/pkg-descr | 3 |
2 files changed, 10 insertions, 15 deletions
diff --git a/java/jaxen/Makefile b/java/jaxen/Makefile index 4f6aa283e810..f54e302cff36 100644 --- a/java/jaxen/Makefile +++ b/java/jaxen/Makefile @@ -7,19 +7,19 @@ PORTNAME= jaxen PORTVERSION= 1.0 PORTREVISION= 2 -CATEGORIES= java +CATEGORIES= java textproc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} DISTNAME= ${PORTNAME}-${PORTVERSION}-FCS -MAINTAINER= herve.quiroz@esil.univ-mrs.fr +MAINTAINER= hq@FreeBSD.org COMMENT= Java XPath Engine -USE_JAVA= 1.3+ +USE_JAVA= YES +JAVA_VERSION= 1.3+ NO_BUILD= YES JARFILES= jaxen-core.jar jaxen-dom.jar jaxen-dom4j.jar jaxen-exml.jar jaxen-full.jar jaxen-jdom.jar lib/saxpath.jar -WRKDOCSDIR= ${WRKSRC}/doc PLIST_FILES+= ${JARFILES:S,^lib/,,:S,^,%%JAVAJARDIR%%/,} .if !defined(NOPORTDOCS) @@ -30,17 +30,15 @@ PORTDOCS= LICENSE ${DOCS} do-install: @${ECHO_MSG} -n ">> Installing JAR files in ${JAVAJARDIR}..." @${MKDIR} ${JAVAJARDIR} -.for JARFILE in ${JARFILES} - @${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${JAVAJARDIR} - @${ECHO_MSG} -n " ${JARFILE:S,^lib/,,}" -.endfor - @${ECHO_MSG} " [DONE]" + @cd ${WRKSRC} && ${INSTALL_DATA} ${JARFILES} ${JAVAJARDIR}/ + @${ECHO_MSG} " [ DONE ]" .if !defined(NOPORTDOCS) @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." - @cd ${WRKDOCSDIR} && ${FIND} ${DOCS} -type d -exec ${MKDIR} ${DOCSDIR}/{} ";" - @cd ${WRKDOCSDIR} && ${FIND} ${DOCS} -type f -exec ${INSTALL_DATA} ${WRKDOCSDIR}/{} ${DOCSDIR}/{} ";" + @${MKDIR} ${DOCSDIR} + @cd ${WRKSRC}/doc && ${FIND} ${DOCS} \ + | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1 @${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}/LICENSE - @${ECHO_MSG} " [DONE]" + @${ECHO_MSG} " [ DONE ]" .endif .include <bsd.port.mk> diff --git a/java/jaxen/pkg-descr b/java/jaxen/pkg-descr index 9c89e9fb69b5..3f1c6519184f 100644 --- a/java/jaxen/pkg-descr +++ b/java/jaxen/pkg-descr @@ -6,6 +6,3 @@ Jaxen provides a single point for XPath expression evaluation, regardless of the target object model, whether its dom4j, JDOM, DOM, JavaBeans, or whatnot. WWW: http://jaxen.org - -- Herve Quiroz -herve.quiroz@esil.univ-mrs.fr |