diff options
author | martti <martti@pkgsrc.org> | 2005-12-09 06:42:46 +0000 |
---|---|---|
committer | martti <martti@pkgsrc.org> | 2005-12-09 06:42:46 +0000 |
commit | 3b1a329f6e4b21619660b7e1820a6ff662862969 (patch) | |
tree | 8e6818bdbf0fdcfd54f6795d453974c8a2d49b69 /mail/ja-squirrelmail | |
parent | 3e5f684d81f058ba3cad0dfa57e56a2c2482e322 (diff) | |
download | pkgsrc-3b1a329f6e4b21619660b7e1820a6ff662862969.tar.gz |
- remove all .orig* files. Noted by Lubomir Sedlacik.
- use post-patch instead of pre-configure
Diffstat (limited to 'mail/ja-squirrelmail')
-rw-r--r-- | mail/ja-squirrelmail/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/mail/ja-squirrelmail/Makefile b/mail/ja-squirrelmail/Makefile index e9f895da9dd..2ca7defa0ed 100644 --- a/mail/ja-squirrelmail/Makefile +++ b/mail/ja-squirrelmail/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2005/12/05 20:50:33 rillig Exp $ +# $NetBSD: Makefile,v 1.19 2005/12/09 06:42:46 martti Exp $ DISTNAME= squirrelmail-1.4.5 PKGNAME= ja-${DISTNAME} @@ -51,7 +51,7 @@ OWN_DIRS+= ${SMDIR} ${SMDIR}/config OWN_DIRS_PERMS= ${ATTACHMENTS_DIR} ${ROOT_USER} ${APACHE_GROUP} 730 OWN_DIRS_PERMS+= ${USER_PREFS_DIR} ${APACHE_USER} ${APACHE_GROUP} 755 -pre-configure: +post-patch: cd ${WRKSRC}; \ for file in config/config_default.php; do \ ${SED} -e "s|@ATTACHMENTS_DIR@|${ATTACHMENTS_DIR}|g" \ @@ -60,9 +60,8 @@ pre-configure: ${MV} -f $${file}.fixed $${file}; \ done; \ cd ${WRKSRC}; \ - ${FIND} . \( -name "*.orig" -o -name ".cvsignore" \) -print \ + ${FIND} . \( -name "*.orig*" -o -name ".cvsignore" \) -print \ | ${XARGS} ${RM} -f - ${FIND} . -name "*.orig_dist" -print | ${XARGS} ${RM} -f pre-install: @${SED} ${FILES_SUBST_SED} ${FILESDIR}/squirrelmail.conf.dist \ |