diff options
author | joerg <joerg@pkgsrc.org> | 2008-05-26 02:13:14 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-05-26 02:13:14 +0000 |
commit | 3d8ef5a52d6570c7a88c64337bb6c476b78c810c (patch) | |
tree | b711f279533efa082bd9211a7161438542a8810d /www/jakarta-tomcat5 | |
parent | 7f7f5ce9170554e6c0c04606c5c2c0548ffab031 (diff) | |
download | pkgsrc-3d8ef5a52d6570c7a88c64337bb6c476b78c810c.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/jakarta-tomcat5')
-rw-r--r-- | www/jakarta-tomcat5/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/www/jakarta-tomcat5/Makefile b/www/jakarta-tomcat5/Makefile index 3af12e97123..1e0a1e801f3 100644 --- a/www/jakarta-tomcat5/Makefile +++ b/www/jakarta-tomcat5/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2008/05/25 21:42:22 joerg Exp $ +# $NetBSD: Makefile,v 1.16 2008/05/26 02:13:25 joerg Exp $ PKGNAME= jakarta-tomcat5-${TOMCAT_VERSION} DISTNAME= jakarta-tomcat-${TOMCAT_VERSION} @@ -17,6 +17,8 @@ USE_JAVA= run # This needs java 1.4 or higher. USE_JAVA2= yes +USE_TOOLS+= pax + TOMCAT_LIB= ${PREFIX}/tomcat5 CATALINA_DIR= Catalina/localhost @@ -59,7 +61,7 @@ do-install: ${INSTALL_DATA} ${WRKDIR}/conf/${CATALINA_DIR}/${f} ${EGDIR2} .endfor ${INSTALL_DATA_DIR} ${TOMCAT_LIB} - @(cd ${WRKSRC} && ${PAX} -rw -pm . ${TOMCAT_LIB}; \ + @(cd ${WRKSRC} && pax -rw -pm . ${TOMCAT_LIB}; \ ${FIND} ${TOMCAT_LIB} -type f -print | ${XARGS} ${CHMOD} a+r; \ ${FIND} ${TOMCAT_LIB} \( -type f -o -perm -u+x \) -print \ | ${XARGS} ${CHMOD} a+rx; \ |