diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-03-13 08:23:42 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-03-13 08:23:42 +0000 |
commit | f5458aa68be724cfce048fb713ace9e07841bdb7 (patch) | |
tree | aadb32360dbfdb2cc9e0749002a9ca98bd2f60c1 /mail/squirrelmail-vlogin-plugin/Makefile | |
parent | - Update to 1.5.1 (diff) |
- 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)
Notes
Notes:
svn path=/head/; revision=187252
Diffstat (limited to 'mail/squirrelmail-vlogin-plugin/Makefile')
-rw-r--r-- | mail/squirrelmail-vlogin-plugin/Makefile | 17 |
1 files changed, 10 insertions, 7 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> |