aboutsummaryrefslogtreecommitdiff
path: root/java/jaxen/Makefile
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2003-12-15 16:49:25 +0000
committerGreg Lewis <glewis@FreeBSD.org>2003-12-15 16:49:25 +0000
commitebaae469b608f370f64a8789d542967b4b5c129d (patch)
tree3302ab8b4ddd23cce95cc4946c0a1ed51e264475 /java/jaxen/Makefile
parentec8c0c1100071f2f7ee8a261741acba73251db1e (diff)
downloadports-ebaae469b608f370f64a8789d542967b4b5c129d.tar.gz
ports-ebaae469b608f370f64a8789d542967b4b5c129d.zip
Notes
Diffstat (limited to 'java/jaxen/Makefile')
-rw-r--r--java/jaxen/Makefile45
1 files changed, 45 insertions, 0 deletions
diff --git a/java/jaxen/Makefile b/java/jaxen/Makefile
new file mode 100644
index 000000000000..f5985c44e641
--- /dev/null
+++ b/java/jaxen/Makefile
@@ -0,0 +1,45 @@
+# Ports collection makefile for: Jaxen
+# Date created: 9 Decemeber 2003
+# Whom: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
+#
+# $FreeBSD$
+
+PORTNAME= jaxen
+PORTVERSION= 1.0
+CATEGORIES= java
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}-${PORTVERSION}-FCS
+
+MAINTAINER= herve.quiroz@esil.univ-mrs.fr
+COMMENT= Java XPath Engine
+
+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}\///}
+
+.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..."
+ @${MKDIR} ${JAVAJARDIR}
+ @cd ${WRKSRC} && ${INSTALL_DATA} ${PORT_JARFILES} ${JAVAJARDIR}
+ @${ECHO_CMD} " [DONE]"
+.if !defined(NOPORTDOCS)
+ @${ECHO_CMD} -n ">> Installing documentation..."
+ @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]"
+.endif
+
+post-install:
+ @${ECHO_CMD} "${PORTNAME}-${PORTVERSION} installed as ${DEST_JARFILES}"
+
+.include <bsd.port.mk>