aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhq <hq@FreeBSD.org>2004-09-01 21:41:33 +0800
committerhq <hq@FreeBSD.org>2004-09-01 21:41:33 +0800
commit16e167fdf217eaf31bc89a46476303e4046551b1 (patch)
tree57927fbe23f7eb5aff2fce4b8b7ed532dadc27f8
parent980eff9d8c3a58d6ff0cd31fd0522b5b7c3a9be0 (diff)
downloadfreebsd-ports-gnome-16e167fdf217eaf31bc89a46476303e4046551b1.tar.gz
freebsd-ports-gnome-16e167fdf217eaf31bc89a46476303e4046551b1.tar.zst
freebsd-ports-gnome-16e167fdf217eaf31bc89a46476303e4046551b1.zip
- 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)
-rw-r--r--java/jaxen/Makefile22
-rw-r--r--java/jaxen/pkg-descr3
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