aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-03-13 16:23:42 +0800
committermiwi <miwi@FreeBSD.org>2007-03-13 16:23:42 +0800
commitba3ba0d9fa1560ef68441cb8045a9a07221bc127 (patch)
tree7dc4a309505b29607c77d5cd8d61afd7236f29a1 /mail
parentc91f6861baae69d6dc95913829828fab30d628ed (diff)
downloadfreebsd-ports-gnome-ba3ba0d9fa1560ef68441cb8045a9a07221bc127.tar.gz
freebsd-ports-gnome-ba3ba0d9fa1560ef68441cb8045a9a07221bc127.tar.zst
freebsd-ports-gnome-ba3ba0d9fa1560ef68441cb8045a9a07221bc127.zip
- Update to 3.9.2
- Use of PKGNAMEPREFIX/PORTNAME/PKGNAMESUFFIX to identify the port (new sqm layout) - Substitution of SQUIRREL_PLUGIN_NAME into pkg-plist to prevent future cut-and-paste errors - Use of bsd.port.pre.mk and bsd.port.post.mk to fix automatic plugin registration PR: 110161 Submitted by: Neil Darlow <neil@darlow.co.uk> (maintainer)
Diffstat (limited to 'mail')
-rw-r--r--mail/squirrelmail-vlogin-plugin/Makefile17
-rw-r--r--mail/squirrelmail-vlogin-plugin/distinfo6
-rw-r--r--mail/squirrelmail-vlogin-plugin/pkg-plist4
3 files changed, 15 insertions, 12 deletions
diff --git a/mail/squirrelmail-vlogin-plugin/Makefile b/mail/squirrelmail-vlogin-plugin/Makefile
index 0d7a8374eff5..f376aae810cf 100644
--- a/mail/squirrelmail-vlogin-plugin/Makefile
+++ b/mail/squirrelmail-vlogin-plugin/Makefile
@@ -4,13 +4,13 @@
#
# $FreeBSD$
-PORTNAME= squirrelmail
-PORTVERSION= 3.9.1
-PORTREVISION= 1
+PORTNAME= vlogin
+PORTVERSION= 3.9.2
CATEGORIES= mail www
MASTER_SITES= http://www.squirrelmail.org/plugins/
-PKGNAMESUFFIX= -${SQUIRREL_PLUGIN_NAME}-plugin
-DISTNAME= ${SQUIRREL_PLUGIN_NAME}-${PORTVERSION}-1.2.7
+PKGNAMEPREFIX= squirrelmail-
+PKGNAMESUFFIX= -plugin
+DISTNAME= ${PORTNAME}-${PORTVERSION}-1.2.7
DIST_SUBDIR= squirrelmail
MAINTAINER= neil@darlow.co.uk
@@ -19,7 +19,7 @@ COMMENT= Adds multi-site-hosting capabilities to SquirrelMail
RUN_DEPENDS= ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail \
squirrelmail-compatibility-plugin>=2.0.5:${PORTSDIR}/mail/squirrelmail-compatibility-plugin
-SQUIRREL_PLUGIN_NAME= vlogin
+SQUIRREL_PLUGIN_NAME= ${PORTNAME}
.ifdef SQUIRRELDIR
PLIST_SUB+= SQUIRRELDIR=${SQUIRRELDIR}
@@ -32,12 +32,15 @@ SQUIRRELDIR= ${PREFIX}/squirrelmail
PLIST_SUB+= SQUIRRELDIR=squirrelmail
. endif
.endif
+PLIST_SUB+= SQUIRREL_PLUGIN_NAME=${SQUIRREL_PLUGIN_NAME}
NO_BUILD= yes
NO_WRKSUBDIR= yes
USE_PERL5_BUILD= yes
WANT_PHP_WEB= yes
+.include <bsd.port.pre.mk>
+
pre-everything::
@${ECHO} ""
.ifndef WITHOUT_ACTIVATE
@@ -66,4 +69,4 @@ post-install:
@${ECHO} "${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}"
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/mail/squirrelmail-vlogin-plugin/distinfo b/mail/squirrelmail-vlogin-plugin/distinfo
index 77c6b340f948..5ca699b68c9b 100644
--- a/mail/squirrelmail-vlogin-plugin/distinfo
+++ b/mail/squirrelmail-vlogin-plugin/distinfo
@@ -1,3 +1,3 @@
-MD5 (squirrelmail/vlogin-3.9.1-1.2.7.tar.gz) = 3d3f7981c1d372c6a0aa6951be78e61c
-SHA256 (squirrelmail/vlogin-3.9.1-1.2.7.tar.gz) = 41ac7ac5e3c9010e639ab6a3345de2ee8638f24fe325aea2792a9be2d4f3f601
-SIZE (squirrelmail/vlogin-3.9.1-1.2.7.tar.gz) = 55077
+MD5 (squirrelmail/vlogin-3.9.2-1.2.7.tar.gz) = 2903bfc71c935adce42c959d622928e2
+SHA256 (squirrelmail/vlogin-3.9.2-1.2.7.tar.gz) = b0881ee623f9aa2b205b6b9ed1e15a52fb76257c902c83aacdefba235fb5da10
+SIZE (squirrelmail/vlogin-3.9.2-1.2.7.tar.gz) = 57003
diff --git a/mail/squirrelmail-vlogin-plugin/pkg-plist b/mail/squirrelmail-vlogin-plugin/pkg-plist
index 9a93be006367..c1c5b86db784 100644
--- a/mail/squirrelmail-vlogin-plugin/pkg-plist
+++ b/mail/squirrelmail-vlogin-plugin/pkg-plist
@@ -1,4 +1,4 @@
-@unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin vlogin; fi
+@unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin %%SQUIRREL_PLUGIN_NAME%%; fi
%%SQUIRRELDIR%%/plugins/vlogin/data/service_levels/.htaccess
%%SQUIRRELDIR%%/plugins/vlogin/data/service_levels/index.php
%%SQUIRRELDIR%%/plugins/vlogin/data/service_levels/premium.sample.php
@@ -32,4 +32,4 @@
@dirrmtry %%SQUIRRELDIR%%/plugins/vlogin/data/domains
@dirrmtry %%SQUIRRELDIR%%/plugins/vlogin/data
@dirrmtry %%SQUIRRELDIR%%/plugins/vlogin
-@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin vlogin; fi
+@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin %%SQUIRREL_PLUGIN_NAME%%; fi