ports/109435: [MAINTAINER] mail/squirrelmail-newuser_wiz-plugin: depend on compatibility-plugin1
Thomas Abthorpe
thomas at goodking.ca
Thu Feb 22 15:00:47 UTC 2007
>Number: 109435
>Category: ports
>Synopsis: [MAINTAINER] mail/squirrelmail-newuser_wiz-plugin: depend on compatibility-plugin1
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu Feb 22 15:00:47 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Thomas Abthorpe
>Release: FreeBSD 6.2-RELEASE-p1 i386
>Organization:
GoodKing.Ca
>Environment:
System: FreeBSD goodking.goodking.ca 6.2-RELEASE-p1 FreeBSD 6.2-RELEASE-p1 #2: Thu Feb 15 14:49:58 EST 2007
>Description:
- depend on compatibility-plugin1, doesn't work with version 2
- rework Makefile to make more consistent with 5.2 of the Porters Handbook
- fix plugin activation, thanks to Neil Darlow <neil___darlow_co_uk>
- bump PORTREVISION
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- squirrelmail-newuser_wiz-plugin-1.3.2_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/squirrelmail-newuser_wiz-plugin/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile 29 Jun 2006 15:34:35 -0000 1.2
+++ Makefile 22 Feb 2007 14:40:23 -0000
@@ -5,21 +5,23 @@
# $FreeBSD: ports/mail/squirrelmail-newuser_wiz-plugin/Makefile,v 1.2 2006/06/29 15:34:35 garga Exp $
#
-PORTNAME= squirrelmail-${SQUIRREL_PLUGIN_NAME}-plugin
+PORTNAME= newuser_wiz
PORTVERSION= 1.3.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail www
MASTER_SITES= http://www.squirrelmail.org/plugins/
-DISTNAME= ${SQUIRREL_PLUGIN_NAME}-${PORTVERSION}
+PKGNAMEPREFIX= squirrelmail-
+PKGNAMESUFFIX= -plugin
+DISTNAME= ${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= squirrelmail
MAINTAINER= thomas at goodking.ca
COMMENT= Force user to enter Full name and Email address at initial logon
RUN_DEPENDS= ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail \
- ${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin
+ ${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin1
-SQUIRREL_PLUGIN_NAME= newuser_wiz
+SQUIRREL_PLUGIN_NAME= ${PORTNAME}
.ifdef SQUIRRELDIR
PLIST_SUB+= SQUIRRELDIR=${SQUIRRELDIR}
@@ -35,6 +37,7 @@
SUB_LIST+= "SQUIRRELDIR=squirrelmail"
.endif
.endif
+PLIST_SUB+= SQUIRREL_PLUGIN_NAME=${SQUIRREL_PLUGIN_NAME}
NO_BUILD= yes
NO_WRKSUBDIR= yes
@@ -42,6 +45,12 @@
USE_PHP= yes
WANT_PHP_WEB= yes
+.include <bsd.port.pre.mk>
+
+.if exists(${SQUIRRELDIR}/plugins/compatibility/getpot)
+IGNORE='compatibility2 plugin is incompatible with this plugin, install mail/squirrelmail-compatibility-plugin1. WARNING compatibility-plugin1 could break other squirrelmail plugins'
+.endif
+
pre-everything::
@${ECHO} ""
.ifndef WITHOUT_ACTIVATE
@@ -70,4 +79,4 @@
@${ECHO} "${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}"
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- squirrelmail-newuser_wiz-plugin-1.3.2_2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list