pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/squirrelmail Add squirrelmail-japanese and squirr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4010e834ce92
branches:  trunk
changeset: 528944:4010e834ce92
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun May 20 17:02:17 2007 +0000

description:
Add squirrelmail-japanese and squirrelmail-lite option.
These options supersedes ja-squirrelmail package.

Bump PKGREVISION.

diffstat:

 mail/squirrelmail/Makefile   |   8 ++++++--
 mail/squirrelmail/distinfo   |   5 ++++-
 mail/squirrelmail/options.mk |  18 ++++++++++++++++++
 3 files changed, 28 insertions(+), 3 deletions(-)

diffs (66 lines):

diff -r 3c53b5f5eeff -r 4010e834ce92 mail/squirrelmail/Makefile
--- a/mail/squirrelmail/Makefile        Sun May 20 16:38:37 2007 +0000
+++ b/mail/squirrelmail/Makefile        Sun May 20 17:02:17 2007 +0000
@@ -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 @@
 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 @@
 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 -r 3c53b5f5eeff -r 4010e834ce92 mail/squirrelmail/distinfo
--- a/mail/squirrelmail/distinfo        Sun May 20 16:38:37 2007 +0000
+++ b/mail/squirrelmail/distinfo        Sun May 20 17:02:17 2007 +0000
@@ -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 -r 3c53b5f5eeff -r 4010e834ce92 mail/squirrelmail/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/squirrelmail/options.mk      Sun May 20 17:02:17 2007 +0000
@@ -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



Home | Main Index | Thread Index | Old Index