From owner-svn-ports-all@FreeBSD.ORG Sun Dec 8 16:54:00 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3FA1CE7C; Sun, 8 Dec 2013 16:54:00 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1F4F81FB7; Sun, 8 Dec 2013 16:54:00 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rB8Gs0UR055832; Sun, 8 Dec 2013 16:54:00 GMT (envelope-from adamw@svn.freebsd.org) Received: (from adamw@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rB8Grvgw055812; Sun, 8 Dec 2013 16:53:57 GMT (envelope-from adamw@svn.freebsd.org) Message-Id: <201312081653.rB8Grvgw055812@svn.freebsd.org> From: Adam Weinberger Date: Sun, 8 Dec 2013 16:53:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335912 - in head/mail: squirrelmail-compatibility-plugin squirrelmail-multilogin-plugin squirrelmail-multilogin-plugin/files squirrelmail-notes-plugin squirrelmail-notes-plugin/files s... X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Dec 2013 16:54:00 -0000 Author: adamw Date: Sun Dec 8 16:53:57 2013 New Revision: 335912 URL: http://svnweb.freebsd.org/changeset/ports/335912 Log: - Convert remaining plugins to bsd.squirrelmail.mk. - Change the perl5 dependency to install, which it is - Correct path in pkg-message Modified: head/mail/squirrelmail-compatibility-plugin/Makefile head/mail/squirrelmail-multilogin-plugin/Makefile head/mail/squirrelmail-multilogin-plugin/files/pkg-message.in head/mail/squirrelmail-notes-plugin/Makefile head/mail/squirrelmail-notes-plugin/files/pkg-message.in head/mail/squirrelmail-notify-plugin/Makefile head/mail/squirrelmail-quota_usage-plugin/Makefile head/mail/squirrelmail-quota_usage-plugin/files/pkg-message.in head/mail/squirrelmail-sasql-plugin/Makefile head/mail/squirrelmail-sasql-plugin/files/pkg-message.in head/mail/squirrelmail-shared_calendars-plugin/Makefile head/mail/squirrelmail-shared_calendars-plugin/files/pkg-message.in head/mail/squirrelmail-wetteronline-plugin/Makefile Modified: head/mail/squirrelmail-compatibility-plugin/Makefile ============================================================================== --- head/mail/squirrelmail-compatibility-plugin/Makefile Sun Dec 8 16:39:45 2013 (r335911) +++ head/mail/squirrelmail-compatibility-plugin/Makefile Sun Dec 8 16:53:57 2013 (r335912) @@ -14,8 +14,10 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Required by many plugins for compatibility with SquirrelMail USES= perl5 -USE_PERL5= run +USE_PERL5= install NO_STAGE= yes + +.include .include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" -.include +.include Modified: head/mail/squirrelmail-multilogin-plugin/Makefile ============================================================================== --- head/mail/squirrelmail-multilogin-plugin/Makefile Sun Dec 8 16:39:45 2013 (r335911) +++ head/mail/squirrelmail-multilogin-plugin/Makefile Sun Dec 8 16:53:57 2013 (r335912) @@ -13,65 +13,12 @@ DIST_SUBDIR= squirrelmail MAINTAINER= ports@FreeBSD.org COMMENT= Allows manual selection of login server on login page -RUN_DEPENDS= ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail \ - ${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin - -SQUIRREL_PLUGIN_NAME= ${PORTNAME} - -.ifdef SQUIRRELDIR -PLIST_SUB+= SQUIRRELDIR=${SQUIRRELDIR} -SUB_LIST+= "SQUIRRELDIR=${SQUIRRELDIR}" -.else -. ifndef WITHOUT_WWWDIR -SQUIRRELDIR= ${PREFIX}/www/squirrelmail -PLIST_SUB+= SQUIRRELDIR=www/squirrelmail -SUB_LIST+= "SQUIRRELDIR=www/squirrelmail" -. else -SQUIRRELDIR= ${PREFIX}/squirrelmail -PLIST_SUB+= SQUIRRELDIR=squirrelmail -SUB_LIST+= "SQUIRRELDIR=squirrelmail" -. endif -.endif - -SUB_FILES= pkg-message - -USES= perl5 -NO_BUILD= yes -NO_WRKSUBDIR= yes -USE_PERL5= build -USE_PHP= yes -WANT_PHP_WEB= yes +USES= perl5 +USE_PERL5= install +USE_SM_COMPAT= yes NO_STAGE= yes -pre-everything:: - @${ECHO} "" -.ifndef WITHOUT_ACTIVATE - @${ECHO} "Activating plug-in in SquirrelMail after installation." - @${ECHO} "If you don't want to automatically activate the plug-in set" - @${ECHO} "WITHOUT_ACTIVATE=yes" -.else - @${ECHO} "NOT Activating plug-in in SquirrelMail after installation." - @${ECHO} "If you want to automatically activate the plug-in unset" - @${ECHO} "WITHOUT_ACTIVATE" -.endif - @${ECHO} "" - -do-install: - ${CP} -rp ${WRKSRC}/${SQUIRREL_PLUGIN_NAME} ${SQUIRRELDIR}/plugins - ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME} - -post-install: -.ifndef WITHOUT_ACTIVATE -.if exists( ${SQUIRRELDIR}/config/config.php ) - @${ECHO} "Activating plug-in in SquirrelMail" - ${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME} - cd ${SQUIRRELDIR} && ${PATCH} -p0 < plugins/${SQUIRREL_PLUGIN_NAME}/patches/multilogin-squirrelmail-1.4.12.diff -.endif -.else - @${ECHO} "To activate the plug-in in SquirrelMail use" - @${ECHO} "${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}" -.endif - @${ECHO} "" - @${CAT} ${PKGMESSAGE} -.include +.include +.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" +.include Modified: head/mail/squirrelmail-multilogin-plugin/files/pkg-message.in ============================================================================== --- head/mail/squirrelmail-multilogin-plugin/files/pkg-message.in Sun Dec 8 16:39:45 2013 (r335911) +++ head/mail/squirrelmail-multilogin-plugin/files/pkg-message.in Sun Dec 8 16:53:57 2013 (r335912) @@ -1,5 +1,5 @@ For the port to work properly you must copy the file -%%PREFIX%%/%%SQUIRRELDIR%%/plugins/multilogin/config.sample.php +%%SQUIRRELDIR%%/plugins/multilogin/config.sample.php to -%%PREFIX%%/%%SQUIRRELDIR%%/plugins/multilogin/config.php +%%SQUIRRELDIR%%/plugins/multilogin/config.php and edit the configuration to meet your needs. Modified: head/mail/squirrelmail-notes-plugin/Makefile ============================================================================== --- head/mail/squirrelmail-notes-plugin/Makefile Sun Dec 8 16:39:45 2013 (r335911) +++ head/mail/squirrelmail-notes-plugin/Makefile Sun Dec 8 16:53:57 2013 (r335912) @@ -1,77 +1,25 @@ # Created by: Gerrit Beine # $FreeBSD$ -PORTNAME= squirrelmail-${SQUIRREL_PLUGIN_NAME}-plugin -PORTVERSION= 1.2 +PORTNAME= notes +PORTVERSION= 1.2 PORTREVISION= 1 CATEGORIES= mail www -MASTER_SITES= http://www.squirrelmail.org/plugins/ -DISTNAME= ${SQUIRREL_PLUGIN_NAME}.${PORTVERSION}-1.4.0 -DIST_SUBDIR= squirrelmail +MASTER_SITES= http://www.squirrelmail.org/plugins/ +PKGNAMEPREFIX= squirrelmail- +PKGNAMESUFFIX= -plugin +DISTNAME= ${PORTNAME}.${PORTVERSION}-1.4.0 +DIST_SUBDIR= squirrelmail MAINTAINER= ports@FreeBSD.org COMMENT= Allows you to create notes -RUN_DEPENDS= ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail \ - ${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin - -SQUIRREL_PLUGIN_NAME= notes - -.ifdef SQUIRRELDIR -PLIST_SUB+= SQUIRRELDIR=${SQUIRRELDIR} -SUB_LIST+= "SQUIRRELDIR=${SQUIRRELDIR}" -.else -. ifndef WITHOUT_WWWDIR -SQUIRRELDIR= ${PREFIX}/www/squirrelmail -PLIST_SUB+= SQUIRRELDIR=www/squirrelmail -SUB_LIST+= "SQUIRRELDIR=www/squirrelmail" -. else -SQUIRRELDIR= ${PREFIX}/squirrelmail -PLIST_SUB+= SQUIRRELDIR=squirrelmail -SUB_LIST+= "SQUIRRELDIR=squirrelmail" -. endif -.endif - -SUB_FILES= pkg-message - -USES= perl5 -NO_BUILD= yes -NO_WRKSUBDIR= yes -USE_PERL5= build -USE_PHP= yes -WANT_PHP_WEB= yes -IGNORE_WITH_PHP= 5 # known incompatibilities with php-5.4, use 5.3 for now -DEFAULT_PHP_VER= 53 +USES= perl5 +USE_PERL5= install +USE_SM_COMPAT= yes NO_STAGE= yes -pre-everything:: - @${ECHO} "" -.ifndef WITHOUT_ACTIVATE - @${ECHO} "Activating plug-in in SquirrelMail after installation." - @${ECHO} "If you don't want to automatically activate the plug-in set" - @${ECHO} "WITHOUT_ACTIVATE=yes" -.else - @${ECHO} "NOT Activating plug-in in SquirrelMail after installation." - @${ECHO} "If you want to automatically activate the plug-in unset" - @${ECHO} "WITHOUT_ACTIVATE" -.endif - @${ECHO} "" - -do-install: - ${CP} -rp ${WRKSRC}/${SQUIRREL_PLUGIN_NAME} ${SQUIRRELDIR}/plugins - ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME} - -post-install: -.ifndef WITHOUT_ACTIVATE -.if exists( ${SQUIRRELDIR}/config/config.php ) - @${ECHO} "Activating plug-in in SquirrelMail" - ${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME} -.endif -.else - @${ECHO} "To activate the plug-in in SquirrelMail use" - @${ECHO} "${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}" -.endif - @${ECHO} "" - @${CAT} ${PKGMESSAGE} -.include +.include +.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" +.include Modified: head/mail/squirrelmail-notes-plugin/files/pkg-message.in ============================================================================== --- head/mail/squirrelmail-notes-plugin/files/pkg-message.in Sun Dec 8 16:39:45 2013 (r335911) +++ head/mail/squirrelmail-notes-plugin/files/pkg-message.in Sun Dec 8 16:53:57 2013 (r335912) @@ -1,5 +1,5 @@ For the port to work properly you must copy the file -%%PREFIX%%/%%SQUIRRELDIR%%/plugins/notes/config.php.sample +%%SQUIRRELDIR%%/plugins/notes/config.php.sample to -%%PREFIX%%/%%SQUIRRELDIR%%/plugins/notes/config.php +%%SQUIRRELDIR%%/plugins/notes/config.php and edit the configuration to meet your needs. Modified: head/mail/squirrelmail-notify-plugin/Makefile ============================================================================== --- head/mail/squirrelmail-notify-plugin/Makefile Sun Dec 8 16:39:45 2013 (r335911) +++ head/mail/squirrelmail-notify-plugin/Makefile Sun Dec 8 16:53:57 2013 (r335912) @@ -1,72 +1,25 @@ # Created by: Gerrit Beine # $FreeBSD$ -PORTNAME= squirrelmail-${SQUIRREL_PLUGIN_NAME}-plugin -PORTVERSION= 1.3 +PORTNAME= notify +PORTVERSION= 1.3 PORTREVISION= 1 CATEGORIES= mail www -MASTER_SITES= http://www.squirrelmail.org/plugins/ -DISTNAME= ${SQUIRREL_PLUGIN_NAME}_${PORTVERSION:S/./_/g} -DIST_SUBDIR= squirrelmail +MASTER_SITES= http://www.squirrelmail.org/plugins/ +PKGNAMEPREFIX= squirrelmail- +PKGNAMESUFFIX= -plugin +DISTNAME= ${PORTNAME}_${PORTVERSION:S/./_/g} +DIST_SUBDIR= squirrelmail MAINTAINER= ports@FreeBSD.org COMMENT= Notify when new mail arrives -RUN_DEPENDS= ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail \ - ${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin - -SQUIRREL_PLUGIN_NAME= notify - -.ifdef SQUIRRELDIR -PLIST_SUB+= SQUIRRELDIR=${SQUIRRELDIR} -SUB_LIST+= "SQUIRRELDIR=${SQUIRRELDIR}" -.else -. ifndef WITHOUT_WWWDIR -SQUIRRELDIR= ${PREFIX}/www/squirrelmail -PLIST_SUB+= SQUIRRELDIR=www/squirrelmail -SUB_LIST+= "SQUIRRELDIR=www/squirrelmail" -. else -SQUIRRELDIR= ${PREFIX}/squirrelmail -PLIST_SUB+= SQUIRRELDIR=squirrelmail -SUB_LIST+= "SQUIRRELDIR=squirrelmail" -. endif -.endif - -USES= perl5 -NO_BUILD= yes -NO_WRKSUBDIR= yes -USE_PERL5= build -USE_PHP= yes -WANT_PHP_WEB= yes +USES= perl5 +USE_PERL5= install +USE_SM_COMPAT= yes NO_STAGE= yes -pre-everything:: - @${ECHO} "" -.ifndef WITHOUT_ACTIVATE - @${ECHO} "Activating plug-in in SquirrelMail after installation." - @${ECHO} "If you don't want to automatically activate the plug-in set" - @${ECHO} "WITHOUT_ACTIVATE=yes" -.else - @${ECHO} "NOT Activating plug-in in SquirrelMail after installation." - @${ECHO} "If you want to automatically activate the plug-in unset" - @${ECHO} "WITHOUT_ACTIVATE" -.endif - @${ECHO} "" - -do-install: - ${CP} -rp ${WRKSRC}/${SQUIRREL_PLUGIN_NAME} ${SQUIRRELDIR}/plugins - ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME} - -post-install: -.ifndef WITHOUT_ACTIVATE -.if exists( ${SQUIRRELDIR}/config/config.php ) - @${ECHO} "Activating plug-in in SquirrelMail" - ${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME} -.endif -.else - @${ECHO} "To activate the plug-in in SquirrelMail use" - @${ECHO} "${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}" -.endif - @${ECHO} "" -.include +.include +.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" +.include Modified: head/mail/squirrelmail-quota_usage-plugin/Makefile ============================================================================== --- head/mail/squirrelmail-quota_usage-plugin/Makefile Sun Dec 8 16:39:45 2013 (r335911) +++ head/mail/squirrelmail-quota_usage-plugin/Makefile Sun Dec 8 16:53:57 2013 (r335912) @@ -1,77 +1,25 @@ # Created by: Gerrit Beine # $FreeBSD$ -PORTNAME= squirrelmail-${SQUIRREL_PLUGIN_NAME}-plugin -PORTVERSION= 1.3.1 +PORTNAME= quota_usage +PORTVERSION= 1.3.1 PORTREVISION= 1 CATEGORIES= mail www -MASTER_SITES= http://www.squirrelmail.org/plugins/ -DISTNAME= ${SQUIRREL_PLUGIN_NAME}-${PORTVERSION}-1.2.7 +MASTER_SITES= http://www.squirrelmail.org/plugins/ +PKGNAMEPREFIX= squirrelmail- +PKGNAMESUFFIX= -plugin +DISTNAME= ${PORTNAME}-${PORTVERSION}-1.2.7 DIST_SUBDIR= squirrelmail MAINTAINER= ports@FreeBSD.org COMMENT= View quota and current usage -RUN_DEPENDS= ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail \ - ${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin - -SQUIRREL_PLUGIN_NAME= quota_usage - -.ifdef SQUIRRELDIR -PLIST_SUB+= SQUIRRELDIR=${SQUIRRELDIR} -SUB_LIST+= "SQUIRRELDIR=${SQUIRRELDIR}" -.else -. ifndef WITHOUT_WWWDIR -SQUIRRELDIR= ${PREFIX}/www/squirrelmail -PLIST_SUB+= SQUIRRELDIR=www/squirrelmail -SUB_LIST+= "SQUIRRELDIR=www/squirrelmail" -. else -SQUIRRELDIR= ${PREFIX}/squirrelmail -PLIST_SUB+= SQUIRRELDIR=squirrelmail -SUB_LIST+= "SQUIRRELDIR=squirrelmail" -. endif -.endif - -SUB_FILES= pkg-message - -USES= perl5 -NO_BUILD= yes -NO_WRKSUBDIR= yes -USE_PERL5= build -USE_PHP= yes -WANT_PHP_WEB= yes -IGNORE_WITH_PHP= 5 # known incompatibilities with php-5.4, use 5.3 for now -DEFAULT_PHP_VER= 53 +USES= perl5 +USE_PERL5= install +USE_SM_COMPAT= yes NO_STAGE= yes -pre-everything:: - @${ECHO} "" -.ifndef WITHOUT_ACTIVATE - @${ECHO} "Activating plug-in in SquirrelMail after installation." - @${ECHO} "If you don't want to automatically activate the plug-in set" - @${ECHO} "WITHOUT_ACTIVATE=yes" -.else - @${ECHO} "NOT Activating plug-in in SquirrelMail after installation." - @${ECHO} "If you want to automatically activate the plug-in unset" - @${ECHO} "WITHOUT_ACTIVATE" -.endif - @${ECHO} "" - -do-install: - ${CP} -rp ${WRKSRC}/${SQUIRREL_PLUGIN_NAME} ${SQUIRRELDIR}/plugins - ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME} - -post-install: -.ifndef WITHOUT_ACTIVATE -.if exists( ${SQUIRRELDIR}/config/config.php ) - @${ECHO} "Activating plug-in in SquirrelMail" - ${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME} -.endif -.else - @${ECHO} "To activate the plug-in in SquirrelMail use" - @${ECHO} "${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}" -.endif - @${ECHO} "" - @${CAT} ${PKGMESSAGE} -.include +.include +.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" +.include Modified: head/mail/squirrelmail-quota_usage-plugin/files/pkg-message.in ============================================================================== --- head/mail/squirrelmail-quota_usage-plugin/files/pkg-message.in Sun Dec 8 16:39:45 2013 (r335911) +++ head/mail/squirrelmail-quota_usage-plugin/files/pkg-message.in Sun Dec 8 16:53:57 2013 (r335912) @@ -1,5 +1,5 @@ For the port to work properly you must copy the file -%%PREFIX%%/%%SQUIRRELDIR%%/plugins/quota_usage/config.php.sample +%%SQUIRRELDIR%%/plugins/quota_usage/config.php.sample to -%%PREFIX%%/%%SQUIRRELDIR%%/plugins/quota_usage/config.php +%%SQUIRRELDIR%%/plugins/quota_usage/config.php and edit the configuration to meet your needs. Modified: head/mail/squirrelmail-sasql-plugin/Makefile ============================================================================== --- head/mail/squirrelmail-sasql-plugin/Makefile Sun Dec 8 16:39:45 2013 (r335911) +++ head/mail/squirrelmail-sasql-plugin/Makefile Sun Dec 8 16:53:57 2013 (r335912) @@ -1,79 +1,29 @@ # Created by: Gerrit Beine # $FreeBSD$ -PORTNAME= squirrelmail-${SQUIRREL_PLUGIN_NAME}-plugin +PORTNAME= sasql PORTVERSION= 3.2.0 PORTREVISION= 1 CATEGORIES= mail www MASTER_SITES= http://www.squirrelmail.org/plugins/ -DISTNAME= ${SQUIRREL_PLUGIN_NAME}-${PORTVERSION} +PKGNAMEPREFIX= squirrelmail- +PKGNAMESUFFIX= -plugin DIST_SUBDIR= squirrelmail MAINTAINER= ports@FreeBSD.org COMMENT= Edit SpamAssassin settings stored in an SQL DB -RUN_DEPENDS= ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail \ - ${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin \ - ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB - -SQUIRREL_PLUGIN_NAME= sasql - -.ifdef SQUIRRELDIR -PLIST_SUB+= SQUIRRELDIR=${SQUIRRELDIR} -SUB_LIST+= "SQUIRRELDIR=${SQUIRRELDIR}" -.else -. ifndef WITHOUT_WWWDIR -SQUIRRELDIR= ${PREFIX}/www/squirrelmail -PLIST_SUB+= SQUIRRELDIR=www/squirrelmail -SUB_LIST+= "SQUIRRELDIR=www/squirrelmail" -. else -SQUIRRELDIR= ${PREFIX}/squirrelmail -PLIST_SUB+= SQUIRRELDIR=squirrelmail -SUB_LIST+= "SQUIRRELDIR=squirrelmail" -. endif -.endif - -SUB_FILES= pkg-message +RUN_DEPENDS= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB USES= perl5 -NO_BUILD= yes -NO_WRKSUBDIR= yes -USE_PERL5= build -USE_PHP= yes -WANT_PHP_WEB= yes +USE_PERL5= install +USE_SM_COMPAT= yes NO_STAGE= yes -pre-everything:: - @${ECHO} "" -.ifndef WITHOUT_ACTIVATE - @${ECHO} "Activating plug-in in SquirrelMail after installation." - @${ECHO} "If you don't want to automatically activate the plug-in set" - @${ECHO} "WITHOUT_ACTIVATE=yes" -.else - @${ECHO} "NOT Activating plug-in in SquirrelMail after installation." - @${ECHO} "If you want to automatically activate the plug-in unset" - @${ECHO} "WITHOUT_ACTIVATE" -.endif - @${ECHO} "" post-patch: @${RM} ${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/*.orig ${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/.cvsignore -do-install: - ${CP} -rp ${WRKSRC}/${SQUIRREL_PLUGIN_NAME} ${SQUIRRELDIR}/plugins - ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME} - -post-install: -.ifndef WITHOUT_ACTIVATE -.if exists( ${SQUIRRELDIR}/config/config.php ) - @${ECHO} "Activating plug-in in SquirrelMail" - ${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME} -.endif -.else - @${ECHO} "To activate the plug-in in SquirrelMail use" - @${ECHO} "${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}" -.endif - @${ECHO} "" - @${CAT} ${PKGMESSAGE} - -.include +.include +.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" +.include Modified: head/mail/squirrelmail-sasql-plugin/files/pkg-message.in ============================================================================== --- head/mail/squirrelmail-sasql-plugin/files/pkg-message.in Sun Dec 8 16:39:45 2013 (r335911) +++ head/mail/squirrelmail-sasql-plugin/files/pkg-message.in Sun Dec 8 16:53:57 2013 (r335912) @@ -1,5 +1,5 @@ For the port to work properly you must copy the file -%%PREFIX%%/%%SQUIRRELDIR%%/plugins/sasql/sasql_conf.php.dist +%%SQUIRRELDIR%%/plugins/sasql/sasql_conf.php.dist to -%%PREFIX%%/%%SQUIRRELDIR%%/plugins/sasql/sasql_conf.php +%%SQUIRRELDIR%%/plugins/sasql/sasql_conf.php and edit the configuration to meet your needs. Modified: head/mail/squirrelmail-shared_calendars-plugin/Makefile ============================================================================== --- head/mail/squirrelmail-shared_calendars-plugin/Makefile Sun Dec 8 16:39:45 2013 (r335911) +++ head/mail/squirrelmail-shared_calendars-plugin/Makefile Sun Dec 8 16:53:57 2013 (r335912) @@ -2,89 +2,33 @@ # $FreeBSD$ PORTNAME= shared_calendars -PORTVERSION= 2.0.1 +PORTVERSION= 2.0.1 PORTREVISION= 1 CATEGORIES= mail www -MASTER_SITES= http://www.squirrelmail.org/plugins/ -PKGNAMEPREFIX= squirrelmail- -PKGNAMESUFFIX= -plugin +MASTER_SITES= http://www.squirrelmail.org/plugins/ +PKGNAMEPREFIX= squirrelmail- +PKGNAMESUFFIX= -plugin DISTNAME= ${PORTNAME}-${PORTVERSION}-1.4.0 -DIST_SUBDIR= squirrelmail +DIST_SUBDIR= squirrelmail MAINTAINER= ports@FreeBSD.org COMMENT= iCal-compliant calendaring for SquirrelMail -RUN_DEPENDS= ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail \ - ${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin - -SQUIRREL_PLUGIN_NAME= ${PORTNAME} - -.ifdef SQUIRRELDIR -PLIST_SUB+= SQUIRRELDIR=${SQUIRRELDIR} -SUB_LIST+= "SQUIRRELDIR=${SQUIRRELDIR}" -.else -. ifndef WITHOUT_WWWDIR -SQUIRRELDIR= ${PREFIX}/www/squirrelmail -PLIST_SUB+= SQUIRRELDIR=www/squirrelmail -SUB_LIST+= "SQUIRRELDIR=www/squirrelmail" -. else -SQUIRRELDIR= ${PREFIX}/squirrelmail -PLIST_SUB+= SQUIRRELDIR=squirrelmail -SUB_LIST+= "SQUIRRELDIR=squirrelmail" -. endif -.endif - -SUB_FILES= pkg-message - -USES= perl5 -NO_BUILD= yes -NO_WRKSUBDIR= yes -USE_PERL5= build -USE_PHP= yes -WANT_PHP_WEB= yes +USES= perl5 +USE_PERL5= install +USE_SM_COMPAT= yes +_SMSRCDIR= calendar OPTIONS_DEFINE= SQL -SQL_DESC= use SQL backend - -LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX} NO_STAGE= yes -.include +.include .if ${PORT_OPTIONS:MSQL} RUN_DEPENDS+= ${SQUIRRELDIR}/plugins/calendar_sql_backend:${PORTSDIR}/mail/squirrelmail-calendar_sql_backend-plugin .else RUN_DEPENDS+= ${SQUIRRELDIR}/plugins/calendar_file_backend:${PORTSDIR}/mail/squirrelmail-calendar_file_backend-plugin .endif -pre-everything:: - @${ECHO} "" -.ifndef WITHOUT_ACTIVATE - @${ECHO} "Activating plug-in in SquirrelMail after installation." - @${ECHO} "If you don't want to automatically activate the plug-in set" - @${ECHO} "WITHOUT_ACTIVATE=yes" -.else - @${ECHO} "NOT Activating plug-in in SquirrelMail after installation." - @${ECHO} "If you want to automatically activate the plug-in unset" - @${ECHO} "WITHOUT_ACTIVATE" -.endif - @${ECHO} "" - -do-install: - ${CP} -rp ${WRKSRC}/calendar ${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME} - ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME} - -post-install: -.ifndef WITHOUT_ACTIVATE -.if exists( ${SQUIRRELDIR}/config/config.php ) - @${ECHO} "Activating plug-in in SquirrelMail" - ${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME} -.endif -.else - @${ECHO} "To activate the plug-in in SquirrelMail use" - @${ECHO} "${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}" -.endif - @${ECHO} "" - @${CAT} ${PKGMESSAGE} - +.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" .include Modified: head/mail/squirrelmail-shared_calendars-plugin/files/pkg-message.in ============================================================================== --- head/mail/squirrelmail-shared_calendars-plugin/files/pkg-message.in Sun Dec 8 16:39:45 2013 (r335911) +++ head/mail/squirrelmail-shared_calendars-plugin/files/pkg-message.in Sun Dec 8 16:53:57 2013 (r335912) @@ -1,5 +1,5 @@ For the port to work properly you must copy the file -%%PREFIX%%/%%SQUIRRELDIR%%/plugins/shared_calendars/data/config.sample.php +%%SQUIRRELDIR%%/plugins/shared_calendars/data/config.sample.php to -%%PREFIX%%/%%SQUIRRELDIR%%/plugins/shared_calendars/data/config.php +%%SQUIRRELDIR%%/plugins/shared_calendars/data/config.php and edit the configuration to meet your needs. Modified: head/mail/squirrelmail-wetteronline-plugin/Makefile ============================================================================== --- head/mail/squirrelmail-wetteronline-plugin/Makefile Sun Dec 8 16:39:45 2013 (r335911) +++ head/mail/squirrelmail-wetteronline-plugin/Makefile Sun Dec 8 16:53:57 2013 (r335912) @@ -1,74 +1,24 @@ # Created by: Gerrit Beine # $FreeBSD$ -PORTNAME= squirrelmail-${SQUIRREL_PLUGIN_NAME}-plugin -PORTVERSION= 0.1 +PORTNAME= wetteronline +PORTVERSION= 0.1 PORTREVISION= 1 CATEGORIES= mail www -MASTER_SITES= http://www.squirrelmail.org/plugins/ -DISTNAME= ${SQUIRREL_PLUGIN_NAME}-${PORTVERSION} -DIST_SUBDIR= squirrelmail +MASTER_SITES= http://www.squirrelmail.org/plugins/ +PKGNAMEPREFIX= squirrelmail- +PKGNAMESUFFIX= -plugin +DIST_SUBDIR= squirrelmail MAINTAINER= ports@FreeBSD.org COMMENT= Plugin for the weather in Germany -RUN_DEPENDS= ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail \ - ${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin - -SQUIRREL_PLUGIN_NAME= wetteronline - -.ifdef SQUIRRELDIR -PLIST_SUB+= SQUIRRELDIR=${SQUIRRELDIR} -SUB_LIST+= "SQUIRRELDIR=${SQUIRRELDIR}" -.else -. ifndef WITHOUT_WWWDIR -SQUIRRELDIR= ${PREFIX}/www/squirrelmail -PLIST_SUB+= SQUIRRELDIR=www/squirrelmail -SUB_LIST+= "SQUIRRELDIR=www/squirrelmail" -. else -SQUIRRELDIR= ${PREFIX}/squirrelmail -PLIST_SUB+= SQUIRRELDIR=squirrelmail -SUB_LIST+= "SQUIRRELDIR=squirrelmail" -. endif -.endif - -USES= perl5 -NO_BUILD= yes -NO_WRKSUBDIR= yes -USE_PERL5= build -USE_PHP= yes -WANT_PHP_WEB= yes -IGNORE_WITH_PHP=5 # known incompatibilities with php-5.4, use 5.3 for now -DEFAULT_PHP_VER=53 +USES= perl5 +USE_PERL5= install +USE_SM_COMPAT= yes NO_STAGE= yes -pre-everything:: - @${ECHO} "" -.ifndef WITHOUT_ACTIVATE - @${ECHO} "Activating plug-in in SquirrelMail after installation." - @${ECHO} "If you don't want to automatically activate the plug-in set" - @${ECHO} "WITHOUT_ACTIVATE=yes" -.else - @${ECHO} "NOT Activating plug-in in SquirrelMail after installation." - @${ECHO} "If you want to automatically activate the plug-in unset" - @${ECHO} "WITHOUT_ACTIVATE" -.endif - @${ECHO} "" - -do-install: - ${CP} -rp ${WRKSRC}/${SQUIRREL_PLUGIN_NAME} ${SQUIRRELDIR}/plugins - ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME} - -post-install: -.ifndef WITHOUT_ACTIVATE -.if exists( ${SQUIRRELDIR}/config/config.php ) - @${ECHO} "Activating plug-in in SquirrelMail" - ${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME} -.endif -.else - @${ECHO} "To activate the plug-in in SquirrelMail use" - @${ECHO} "${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}" -.endif - @${ECHO} "" -.include +.include +.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" +.include