aboutsummaryrefslogtreecommitdiff
path: root/mail/squirrelmail-vlogin-plugin
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-03-13 08:23:42 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-03-13 08:23:42 +0000
commitf5458aa68be724cfce048fb713ace9e07841bdb7 (patch)
treeaadb32360dbfdb2cc9e0749002a9ca98bd2f60c1 /mail/squirrelmail-vlogin-plugin
parent39724404b4360b98d640fb5095a35803a0168b43 (diff)
downloadports-f5458aa68be724cfce048fb713ace9e07841bdb7.tar.gz
ports-f5458aa68be724cfce048fb713ace9e07841bdb7.zip
Notes
Diffstat (limited to 'mail/squirrelmail-vlogin-plugin')
-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