summaryrefslogtreecommitdiff
path: root/mail/ja-squirrelmail
diff options
context:
space:
mode:
authormartti <martti>2005-12-09 06:42:46 +0000
committermartti <martti>2005-12-09 06:42:46 +0000
commit773a47a232b0bdc4afe274659d356fdf5256aff3 (patch)
tree8e6818bdbf0fdcfd54f6795d453974c8a2d49b69 /mail/ja-squirrelmail
parent28e4903b631e4f39aca30c6e51f6993dce6cf1dc (diff)
downloadpkgsrc-773a47a232b0bdc4afe274659d356fdf5256aff3.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/Makefile7
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 \