summaryrefslogtreecommitdiff
path: root/www/apache-tomcat55
diff options
context:
space:
mode:
authorjoerg <joerg>2008-05-26 02:13:14 +0000
committerjoerg <joerg>2008-05-26 02:13:14 +0000
commit2374ca422f2eb8b46ed600c7bb21740b2865d899 (patch)
treeb711f279533efa082bd9211a7161438542a8810d /www/apache-tomcat55
parentef56178a4a7ad8f02178aa72c5c4a4567ade918b (diff)
downloadpkgsrc-2374ca422f2eb8b46ed600c7bb21740b2865d899.tar.gz
Second round of explicit pax dependencies. As reminded by tnn@,
many packages used to use ${PAX}. Use the common way of directly calling pax, it is created as tool after all.
Diffstat (limited to 'www/apache-tomcat55')
-rw-r--r--www/apache-tomcat55/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/apache-tomcat55/Makefile b/www/apache-tomcat55/Makefile
index 7844d91a56c..cb74ffb4884 100644
--- a/www/apache-tomcat55/Makefile
+++ b/www/apache-tomcat55/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2008/05/25 21:42:22 joerg Exp $
+# $NetBSD: Makefile,v 1.15 2008/05/26 02:13:25 joerg Exp $
DISTNAME= apache-tomcat-${TOMCAT_VERSION}
CATEGORIES= www java
@@ -15,6 +15,8 @@ USE_JAVA= run
# This needs java 1.5 or higher.
USE_JAVA2= 1.5
+USE_TOOLS+= pax
+
TOMCAT_LIB= ${PREFIX}/tomcat
CATALINA_DIR= Catalina/localhost
@@ -68,7 +70,7 @@ do-install:
.endfor
${INSTALL_DATA_DIR} ${TOMCAT_LIB}
${RM} -rf ${WRKSRC}/temp/*
- @cd ${WRKSRC} && ${PAX} -rw -pm . ${TOMCAT_LIB}
+ @cd ${WRKSRC} && pax -rw -pm . ${TOMCAT_LIB}
${FIND} ${TOMCAT_LIB} -type f -name \*.bat -print | ${XARGS} ${RM} -f
${FIND} ${TOMCAT_LIB} -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE}