aboutsummaryrefslogtreecommitdiff
path: root/java/jaxen
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-03-26 23:45:46 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-03-26 23:45:46 +0000
commitfeb704163ec438de45bc6737bf6052766b65e977 (patch)
tree08f9bc6c368a79a403fdecd2556a5a3cbea66f8f /java/jaxen
parentc65d806dc35c7f9b9f0a4aa947fc396e30e7f438 (diff)
downloadports-feb704163ec438de45bc6737bf6052766b65e977.tar.gz
ports-feb704163ec438de45bc6737bf6052766b65e977.zip
Notes
Diffstat (limited to 'java/jaxen')
-rw-r--r--java/jaxen/Makefile19
-rw-r--r--java/jaxen/distinfo1
-rw-r--r--java/jaxen/pkg-plist6
3 files changed, 10 insertions, 16 deletions
diff --git a/java/jaxen/Makefile b/java/jaxen/Makefile
index 428efad8ee55..a2c1b3102192 100644
--- a/java/jaxen/Makefile
+++ b/java/jaxen/Makefile
@@ -19,28 +19,27 @@ USE_JAVA= 1.3+
NO_BUILD= YES
PORT_JARFILES= jaxen-core.jar jaxen-dom.jar jaxen-dom4j.jar jaxen-exml.jar jaxen-full.jar jaxen-jdom.jar
-DEST_JARFILES= ${PORT_JARFILES:S,^,${JAVAJARDIR},}
JAVA_WRKDOCSDIR= ${WRKSRC}/doc
-PLIST_SUB+= JAVAJARDIR=${JAVAJARDIR:S/^${PREFIX}\///}
+PLIST_FILES+= ${PORT_JARFILES:S,^,${JAVAJARDIR:S,^${PREFIX}/,,}/,}
.if !defined(NOPORTDOCS)
PORTDOCS= LICENSE default.css download.html faq.html index.html javadoc status.html style
.endif
do-install:
- @${ECHO_CMD} -n ">> Installing JAR files..."
+ @${ECHO} -n ">> Installing JAR files in ${JAVAJARDIR}..."
@${MKDIR} ${JAVAJARDIR}
- @cd ${WRKSRC} && ${INSTALL_DATA} ${PORT_JARFILES} ${JAVAJARDIR}
- @${ECHO_CMD} " [DONE]"
+.for JARFILE in ${PORT_JARFILES}
+ @cd ${WRKSRC} && ${INSTALL_DATA} ${JARFILE} ${JAVAJARDIR}
+ @${ECHO} -n " ${JARFILE}"
+.endfor
+ @${ECHO} " [DONE]"
.if !defined(NOPORTDOCS)
- @${ECHO_CMD} -n ">> Installing documentation..."
+ @${ECHO_CMD} -n ">> Installing documentation in ${DOCSDIR}..."
@cd ${JAVA_WRKDOCSDIR} && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} ";"
@cd ${JAVA_WRKDOCSDIR} && ${FIND} . -type f -exec ${INSTALL_MAN} ${JAVA_WRKDOCSDIR}/{} ${DOCSDIR}/{} ";"
@${INSTALL_MAN} ${WRKSRC}/LICENSE ${DOCSDIR}/LICENSE
- @${ECHO_CMD} " [DONE]"
+ @${ECHO} " [DONE]"
.endif
-post-install:
- @${ECHO_CMD} "${PORTNAME}-${PORTVERSION} installed as ${DEST_JARFILES}"
-
.include <bsd.port.mk>
diff --git a/java/jaxen/distinfo b/java/jaxen/distinfo
index 2762345f7e0e..932953045a21 100644
--- a/java/jaxen/distinfo
+++ b/java/jaxen/distinfo
@@ -1 +1,2 @@
MD5 (jaxen-1.0-FCS.tar.gz) = c0baf972b669579aff40ca7fdb9a90d0
+SIZE (jaxen-1.0-FCS.tar.gz) = 3195819
diff --git a/java/jaxen/pkg-plist b/java/jaxen/pkg-plist
deleted file mode 100644
index 4dcfc27f8522..000000000000
--- a/java/jaxen/pkg-plist
+++ /dev/null
@@ -1,6 +0,0 @@
-%%JAVAJARDIR%%/jaxen-core.jar
-%%JAVAJARDIR%%/jaxen-dom.jar
-%%JAVAJARDIR%%/jaxen-dom4j.jar
-%%JAVAJARDIR%%/jaxen-exml.jar
-%%JAVAJARDIR%%/jaxen-full.jar
-%%JAVAJARDIR%%/jaxen-jdom.jar