diff options
author | schmonz <schmonz> | 2006-12-26 06:44:16 +0000 |
---|---|---|
committer | schmonz <schmonz> | 2006-12-26 06:44:16 +0000 |
commit | 7af4a1f8b5cd9614f1c6baa07b7772f2478a669e (patch) | |
tree | e27db1055e32e59df144b89ea7e29aaf16b91618 /mail/tmda/Makefile | |
parent | 1e65895295ec20fa75e5a69c085b7792d8c6deaf (diff) | |
download | pkgsrc-7af4a1f8b5cd9614f1c6baa07b7772f2478a669e.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/Makefile')
-rw-r--r-- | mail/tmda/Makefile | 5 |
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; \ |