summaryrefslogtreecommitdiff
path: root/mail/dspam
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-05-26 02:13:14 +0000
committerjoerg <joerg@pkgsrc.org>2008-05-26 02:13:14 +0000
commit7e8d73a2f828db9d35f29b49764e35728972ce24 (patch)
treeb711f279533efa082bd9211a7161438542a8810d /mail/dspam
parentf46dfbfa33d3c97ae7eb4dca75789144f99079a7 (diff)
downloadpkgsrc-7e8d73a2f828db9d35f29b49764e35728972ce24.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 'mail/dspam')
-rw-r--r--mail/dspam/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/dspam/Makefile b/mail/dspam/Makefile
index 63a544d2a9a..6d25f98f781 100644
--- a/mail/dspam/Makefile
+++ b/mail/dspam/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.57 2007/07/04 20:54:42 jlam Exp $
+# $NetBSD: Makefile,v 1.58 2008/05/26 02:13:21 joerg Exp $
DISTNAME= dspam-3.8.0
CATEGORIES= mail
@@ -11,7 +11,7 @@ COMMENT= Extremely scalable, statistical-hybrid anti-spam filter
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
-USE_TOOLS+= perl:run pkg-config
+USE_TOOLS+= pax perl:run pkg-config
REPLACE_PERL= src/tools/dspam_train.in
REPLACE_PERL+= src/tools/dspam_logrotate
REPLACE_PERL+= webui/cgi-bin/*.cgi webui/cgi-bin/configure.pl.in
@@ -130,7 +130,7 @@ post-install:
.for d in txt webui/cgi-bin webui/htdocs
${INSTALL_DATA_DIR} ${DATADIR}/${d}
- cd ${WRKSRC}/${d} && ${PAX} -rwppm '-s|.*/Makefile.*$$||' \
+ cd ${WRKSRC}/${d} && pax -rwppm '-s|.*/Makefile.*$$||' \
'-s|./admins.*$$||' '-s|./default.prefs.*$$||' \
'-s|./configure.pl.*$$||' . ${DATADIR}/${d}
.endfor
@@ -139,14 +139,14 @@ post-install:
. if !empty(DSPAM_STORAGE_DRIVER:M${drv})
${INSTALL_DATA_DIR} ${DATADIR}/${drv}
cd ${WRKSRC}/src/tools.${drv}_drv && \
- ${PAX} -rwppm ./*.sql ${DATADIR}/${drv}
+ pax -rwppm ./*.sql ${DATADIR}/${drv}
. endif
.endfor
.if !empty(DSPAM_STORAGE_DRIVER:Msqlite*)
${INSTALL_DATA_DIR} ${DATADIR}/sqlite
cd ${WRKSRC}/src/tools.sqlite_drv && \
- ${PAX} -rwppm '-s|.*/Makefile.*$$||' . ${DATADIR}/sqlite
+ pax -rwppm '-s|.*/Makefile.*$$||' . ${DATADIR}/sqlite
.endif
${CHMOD} ${SHAREMODE} ${DATADIR}/webui/cgi-bin/*.txt