diff options
author | sat <sat@FreeBSD.org> | 2007-07-20 17:26:39 +0800 |
---|---|---|
committer | sat <sat@FreeBSD.org> | 2007-07-20 17:26:39 +0800 |
commit | ac4fc882c5fe2db4718af4398c5a22cabe703ee6 (patch) | |
tree | 9cfc2fd61a86d92eb2288d1bfa0ec457b0b4a297 /mail | |
parent | ce99c770be9bcade6f988b3d6b33cbf3f0eca7ce (diff) | |
download | freebsd-ports-gnome-ac4fc882c5fe2db4718af4398c5a22cabe703ee6.tar.gz freebsd-ports-gnome-ac4fc882c5fe2db4718af4398c5a22cabe703ee6.tar.zst freebsd-ports-gnome-ac4fc882c5fe2db4718af4398c5a22cabe703ee6.zip |
- Pass maintainership to submitter
- Rework Makefile for easier readability
- Reformat pkg-descr
- Bump portrevision (file owner/group changed)
PR: ports/114482
Submitted by: Thomas Abthorpe <thomas@goodking.ca>
Approved by: Alexander Wittig <alexander@wittig.name> (maintainer)
Diffstat (limited to 'mail')
-rw-r--r-- | mail/squirrelmail-compatibility-plugin1/Makefile | 22 | ||||
-rw-r--r-- | mail/squirrelmail-compatibility-plugin1/pkg-descr | 11 | ||||
-rw-r--r-- | mail/squirrelmail-compatibility-plugin1/pkg-plist | 4 |
3 files changed, 20 insertions, 17 deletions
diff --git a/mail/squirrelmail-compatibility-plugin1/Makefile b/mail/squirrelmail-compatibility-plugin1/Makefile index 6ea2fdc81dcb..8b134127f4bf 100644 --- a/mail/squirrelmail-compatibility-plugin1/Makefile +++ b/mail/squirrelmail-compatibility-plugin1/Makefile @@ -4,34 +4,39 @@ # # $FreeBSD$ -PORTNAME= squirrelmail +PORTNAME= compatibility PORTVERSION= 1.3 +PORTREVISION= 1 CATEGORIES= mail www MASTER_SITES= http://www.squirrelmail.org/plugins/ -PKGNAMESUFFIX= -${SQUIRREL_PLUGIN_NAME}-plugin -DISTNAME= ${SQUIRREL_PLUGIN_NAME}-${PORTVERSION} +PKGNAMEPREFIX= squirrelmail- +PKGNAMESUFFIX= -plugin DIST_SUBDIR= squirrelmail -MAINTAINER= alexander@wittig.name +MAINTAINER= thomas@goodking.ca COMMENT= Required by many plugins for compatibility with SquirrelMail RUN_DEPENDS= ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail CONFLICTS= squirrelmail-compatibility-plugin-2.* -SQUIRREL_PLUGIN_NAME= compatibility +SQUIRREL_PLUGIN_NAME= ${PORTNAME} .ifdef SQUIRRELDIR PLIST_SUB+= SQUIRRELDIR=${SQUIRRELDIR} +SUB_LIST+= "SQUIRRELDIR=${SQUIRRELDIR}" .else -. ifndef WITHOUT_WWWDIR +.ifndef WITHOUT_WWWDIR SQUIRRELDIR= ${PREFIX}/www/squirrelmail PLIST_SUB+= SQUIRRELDIR=www/squirrelmail -. else +SUB_LIST+= "SQUIRRELDIR=www/squirrelmail" +.else SQUIRRELDIR= ${PREFIX}/squirrelmail PLIST_SUB+= SQUIRRELDIR=squirrelmail -. endif +SUB_LIST+= "SQUIRRELDIR=squirrelmail" +.endif .endif +PLIST_SUB+= SQUIRREL_PLUGIN_NAME=${SQUIRREL_PLUGIN_NAME} NO_BUILD= yes NO_WRKSUBDIR= yes @@ -55,6 +60,7 @@ pre-everything:: do-install: ${CP} -rp ${WRKSRC}/${SQUIRREL_PLUGIN_NAME} ${SQUIRRELDIR}/plugins + ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME} post-install: .ifndef WITHOUT_ACTIVATE diff --git a/mail/squirrelmail-compatibility-plugin1/pkg-descr b/mail/squirrelmail-compatibility-plugin1/pkg-descr index 729d8cec22ac..b148cf3b4d49 100644 --- a/mail/squirrelmail-compatibility-plugin1/pkg-descr +++ b/mail/squirrelmail-compatibility-plugin1/pkg-descr @@ -1,10 +1,7 @@ -SquirrelMail Plug-in that provides a standard API for plugin authors who need -certain functionalities that may not be available in older versions of -SquirrelMail. SquirrelMail administrators only need to download this plugin if -any of the plugins they have require it. +SquirrelMail Plug-in that provides a standard API for plugin authors +who need certain functionalities that may not be available in older +versions of SquirrelMail. SquirrelMail administrators only need to +download this plugin if any of the plugins they have require it. This plugin has no functionality in and of itself. WWW: http://www.squirrelmail.org - -- Alexander Wittig -alexander@wittig.name diff --git a/mail/squirrelmail-compatibility-plugin1/pkg-plist b/mail/squirrelmail-compatibility-plugin1/pkg-plist index ea26c627a6e7..48c7e62d0567 100644 --- a/mail/squirrelmail-compatibility-plugin1/pkg-plist +++ b/mail/squirrelmail-compatibility-plugin1/pkg-plist @@ -1,4 +1,4 @@ -@unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin compatibility; fi +@unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin %%SQUIRREL_PLUGIN_NAME%%; fi %%SQUIRRELDIR%%/plugins/compatibility/functions.php %%SQUIRRELDIR%%/plugins/compatibility/index.php %%SQUIRRELDIR%%/plugins/compatibility/INSTALL @@ -6,4 +6,4 @@ %%SQUIRRELDIR%%/plugins/compatibility/setup.php %%SQUIRRELDIR%%/plugins/compatibility/version @dirrm %%SQUIRRELDIR%%/plugins/compatibility -@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin compatibility; fi +@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin %%SQUIRREL_PLUGIN_NAME%%; fi |