summaryrefslogtreecommitdiff
path: root/mail/tmda
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2006-12-26 06:44:16 +0000
committerschmonz <schmonz@pkgsrc.org>2006-12-26 06:44:16 +0000
commitb4beb4c5528e4343eb4d0dfb2e436430922cd401 (patch)
treee27db1055e32e59df144b89ea7e29aaf16b91618 /mail/tmda
parentcbb9b5f886edbb91a1ee9d4c202239e9a2c71a63 (diff)
downloadpkgsrc-b4beb4c5528e4343eb4d0dfb2e436430922cd401.tar.gz
Remove any *.orig files (e.g., tmda-ofmipd.orig) before installation
to prevent their being erroneously installed. Found by bulk build. No change to PLIST, hence no PKGREVISION bump.
Diffstat (limited to 'mail/tmda')
-rw-r--r--mail/tmda/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/tmda/Makefile b/mail/tmda/Makefile
index cb91f6a297f..ce616784252 100644
--- a/mail/tmda/Makefile
+++ b/mail/tmda/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2006/12/20 03:22:39 schmonz Exp $
+# $NetBSD: Makefile,v 1.33 2006/12/26 06:44:16 schmonz Exp $
#
DISTNAME= tmda-1.1.9
@@ -52,6 +52,9 @@ INSTALLATION_DIRS+= ${PYSITELIB}/TMDA/pythonlib/email/mime ${EGDIR}
do-build:
cd ${WRKSRC} && ${PYTHONBIN} ./compileall
+pre-install:
+ ${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM} -f
+
do-install:
for f in ${TMDA_PROGRAMS}; do \
${INSTALL_SCRIPT} ${WRKSRC}/$${f} ${PREFIX}/bin; \