summaryrefslogtreecommitdiff
path: root/mail/squirrelmail
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2007-05-20 17:02:17 +0000
committertaca <taca@pkgsrc.org>2007-05-20 17:02:17 +0000
commitd53b13a646d6e275b77b6031803ba510d448c113 (patch)
treeea582a19edfbd05187f7f916d02e7e585a973462 /mail/squirrelmail
parentf015a81ade25a8af961fe860640c59d06903aa52 (diff)
downloadpkgsrc-d53b13a646d6e275b77b6031803ba510d448c113.tar.gz
Add squirrelmail-japanese and squirrelmail-lite option.
These options supersedes ja-squirrelmail package. Bump PKGREVISION.
Diffstat (limited to 'mail/squirrelmail')
-rw-r--r--mail/squirrelmail/Makefile8
-rw-r--r--mail/squirrelmail/distinfo5
-rw-r--r--mail/squirrelmail/options.mk18
3 files changed, 28 insertions, 3 deletions
diff --git a/mail/squirrelmail/Makefile b/mail/squirrelmail/Makefile
index 3b195bf13c6..c3197bfde6d 100644
--- a/mail/squirrelmail/Makefile
+++ b/mail/squirrelmail/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.86 2007/05/12 23:49:01 heinz Exp $
+# $NetBSD: Makefile,v 1.87 2007/05/20 17:02:17 taca Exp $
DISTNAME= squirrelmail-1.4.10a
+PKGREVISION= 1
CATEGORIES= mail www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=squirrelmail/}
EXTRACT_SUFX= .tar.bz2
@@ -22,7 +23,7 @@ USE_TOOLS+= perl:run
REPLACE_PERL+= config/conf.pl
BUILD_DEFS+= APACHE_GROUP APACHE_USER VARBASE
-.include "../../mk/bsd.prefs.mk"
+.include "options.mk"
PKG_SYSCONFSUBDIR?= httpd
MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q}
@@ -69,6 +70,9 @@ post-extract:
pre-configure:
find ${WRKSRC:Q} \( -name '*.orig*' -o -name '.cvsignore' \) \
-exec rm -f {} \;
+# currently, we use iso_2022_jp.php in squirrelmail-decode package.
+#
+ rm -f ${WRKSRC}/functions/decode/iso_2022_jp.php
do-install:
${INSTALL_DATA} ${WRKDIR:Q}/squirrelmail.conf.dist ${EGDIR:Q}/squirrelmail.conf
diff --git a/mail/squirrelmail/distinfo b/mail/squirrelmail/distinfo
index 3a9b56ac869..e060001e60d 100644
--- a/mail/squirrelmail/distinfo
+++ b/mail/squirrelmail/distinfo
@@ -1,5 +1,8 @@
-$NetBSD: distinfo,v 1.37 2007/05/10 09:24:44 martti Exp $
+$NetBSD: distinfo,v 1.38 2007/05/20 17:02:17 taca Exp $
+SHA1 (squirrelmail-1.4.10a-ja-20070511-patch.gz) = 334835edb086cd41cf6d915cbb7b0de99a707e5c
+RMD160 (squirrelmail-1.4.10a-ja-20070511-patch.gz) = 464620ad6c60eac41c3aa85ae0df3667324bafba
+Size (squirrelmail-1.4.10a-ja-20070511-patch.gz) = 7392 bytes
SHA1 (squirrelmail-1.4.10a.tar.bz2) = b8a84e1fb69b6922c6bf817015201d57a82aa843
RMD160 (squirrelmail-1.4.10a.tar.bz2) = 4337f99575e1ada931cea461679b96acd5b4901d
Size (squirrelmail-1.4.10a.tar.bz2) = 484523 bytes
diff --git a/mail/squirrelmail/options.mk b/mail/squirrelmail/options.mk
new file mode 100644
index 00000000000..32770293aae
--- /dev/null
+++ b/mail/squirrelmail/options.mk
@@ -0,0 +1,18 @@
+# $NetBSD: options.mk,v 1.1 2007/05/20 17:02:17 taca Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.squirrelmail
+PKG_SUPPORTED_OPTIONS= squirrelmail-japanese squirrelmail-lite
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Msquirrelmail-japanese)
+PATCH_SITES= http://www.yamaai-tech.com/~masato/Download/
+PATCHFILES= squirrelmail-1.4.10a-ja-20070511-patch.gz
+PATCH_DIST_STRIP= -p1
+
+.endif
+
+.if !empty(PKG_OPTIONS:Msquirrelmail-lite)
+PATCH_SITES+= ftp://ftp.back-street.net/pub/squirrelmail/
+PATCHFILES+= squirrelmail-1.4.10a-lite-20070511-patch
+.endif