summaryrefslogtreecommitdiff
path: root/mail/ja-squirrelmail/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/ja-squirrelmail/Makefile')
-rw-r--r--mail/ja-squirrelmail/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/mail/ja-squirrelmail/Makefile b/mail/ja-squirrelmail/Makefile
index a7fadf1e373..c85453d5b72 100644
--- a/mail/ja-squirrelmail/Makefile
+++ b/mail/ja-squirrelmail/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.27 2006/05/05 02:46:54 taca Exp $
+# $NetBSD: Makefile,v 1.28 2006/05/05 05:32:36 martti Exp $
DISTNAME= squirrelmail-1.4.6
PKGNAME= ja-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= mail www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=squirrelmail/}
EXTRACT_SUFX= .tar.bz2
@@ -24,7 +25,7 @@ DEPENDS+= php-mbstring>=4.3.3:../../misc/php-mbstring
USE_LANGUAGES= # empty
NO_BUILD= yes
USE_TOOLS+= perl:run
-REPLACE_PERL+= config/conf.pl config/ri_once.pl
+REPLACE_PERL+= config/conf.pl
.include "../../mk/bsd.prefs.mk"
@@ -54,7 +55,8 @@ OWN_DIRS_PERMS= ${ATTACHMENTS_DIR} ${ROOT_USER} ${APACHE_GROUP} 730
OWN_DIRS_PERMS+= ${USER_PREFS_DIR} ${APACHE_USER} ${APACHE_GROUP} 755
SUBST_CLASSES+= paths
-SUBST_FILES.paths= ${WRKDIR}/squirrelmail.conf.dist config/config_default.php
+SUBST_FILES.paths= ${WRKDIR:Q}/squirrelmail.conf.dist
+SUBST_FILES.paths+= config/config_default.php
SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g'
SUBST_SED.paths+= -e 's,@ATTACHMENTS_DIR@,${ATTACHMENTS_DIR},g'
SUBST_SED.paths+= -e 's,@USER_PREFS_DIR@,${USER_PREFS_DIR},g'