Move plugin installation into the plist, rather than post-install, so

that it will work when installed from binary pkg.

Bump PORTREVISION on all plugins for this.
This commit is contained in:
Adam Weinberger 2014-08-28 15:16:49 +00:00
parent f1dff729a7
commit e1630922bd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=366415
31 changed files with 134 additions and 161 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= abook_import_export PORTNAME= abook_import_export
PORTVERSION= 1.1 PORTVERSION= 1.1
PORTREVISION= 1 PORTREVISION= 2
CATEGORIES= mail www CATEGORIES= mail www
DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION}-1.4.4 DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION}-1.4.4
DIST_SUBDIR= squirrelmail DIST_SUBDIR= squirrelmail
@ -13,6 +13,5 @@ COMMENT= Allows for the importing of addressbooks from a CSV (comma separated va
SQUIRREL_PLUGIN_NAME= ${PORTNAME:S/-/_/} SQUIRREL_PLUGIN_NAME= ${PORTNAME:S/-/_/}
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" .include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.post.mk> .include <bsd.port.mk>

View File

@ -2,13 +2,12 @@
PORTNAME= askuserinfo PORTNAME= askuserinfo
PORTVERSION= 1.1 PORTVERSION= 1.1
PORTREVISION= 1 PORTREVISION= 2
CATEGORIES= mail www CATEGORIES= mail www
DISTNAME= ${PORTNAME}.${PORTVERSION}-1.4.0 DISTNAME= ${PORTNAME}.${PORTVERSION}-1.4.0
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= Ask user to enter Full name and Email address at initial logon COMMENT= Ask user to enter Full name and Email address at initial logon
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" .include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.post.mk> .include <bsd.port.mk>

View File

@ -3,7 +3,7 @@
PORTNAME= avelsieve PORTNAME= avelsieve
PORTVERSION= 1.9.7 PORTVERSION= 1.9.7
PORTREVISION= 3 PORTREVISION= 4
CATEGORIES= mail www CATEGORIES= mail www
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org

View File

@ -1,15 +1,14 @@
# Created by: Gerrit Beine <gerrit.beine@gmx.de> # Created by: Gerrit Beine <gerrit.beine@gmx.de>
# $FreeBSD$ # $FreeBSD$
PORTNAME= calendar_file_backend PORTNAME= calendar_file_backend
PORTVERSION= 1.0 PORTVERSION= 1.0
PORTREVISION= 2 PORTREVISION= 3
CATEGORIES= mail www CATEGORIES= mail www
DISTNAME= ${PORTNAME}-${PORTVERSION}-2.0 DISTNAME= ${PORTNAME}-${PORTVERSION}-2.0
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= File backend for SquirrelMail Calendar plugin COMMENT= File backend for SquirrelMail Calendar plugin
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" .include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.post.mk> .include <bsd.port.mk>

View File

@ -1,10 +1,10 @@
# Created by: Alexander Wittig <alexander@wittig.name> # Created by: Alexander Wittig <alexander@wittig.name>
# $FreeBSD$ # $FreeBSD$
PORTNAME= change_ldappass PORTNAME= change_ldappass
PORTVERSION= 2.2 PORTVERSION= 2.2
PORTREVISION= 5 PORTREVISION= 6
CATEGORIES= mail www CATEGORIES= mail www
DISTNAME= ${PORTNAME}-${PORTVERSION}-1.4.0 DISTNAME= ${PORTNAME}-${PORTVERSION}-1.4.0
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
@ -17,6 +17,5 @@ USES= gettext
USE_GENERIC_PKGMESSAGE= yes USE_GENERIC_PKGMESSAGE= yes
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" .include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.post.mk> .include <bsd.port.mk>

View File

@ -3,8 +3,8 @@
PORTNAME= change-sqlpass PORTNAME= change-sqlpass
PORTVERSION= 3.3 PORTVERSION= 3.3
PORTREVISION= 2 PORTREVISION= 3
CATEGORIES= mail www CATEGORIES= mail www
DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION}-1.2 DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION}-1.2
MAINTAINER= itetcu@FreeBSD.org MAINTAINER= itetcu@FreeBSD.org
@ -16,6 +16,5 @@ RUN_DEPENDS= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB
SQUIRREL_PLUGIN_NAME= ${PORTNAME:S/-/_/} SQUIRREL_PLUGIN_NAME= ${PORTNAME:S/-/_/}
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" .include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.post.mk> .include <bsd.port.mk>

View File

@ -3,8 +3,8 @@
PORTNAME= check-quota PORTNAME= check-quota
PORTVERSION= 2.2 PORTVERSION= 2.2
PORTREVISION= 2 PORTREVISION= 3
CATEGORIES= mail www CATEGORIES= mail www
DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION}-1.4.0 DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION}-1.4.0
MAINTAINER= itetcu@FreeBSD.org MAINTAINER= itetcu@FreeBSD.org
@ -14,6 +14,5 @@ USE_SM_COMPAT= YES
SQUIRREL_PLUGIN_NAME= ${PORTNAME:S/-/_/} SQUIRREL_PLUGIN_NAME= ${PORTNAME:S/-/_/}
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" .include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.post.mk> .include <bsd.port.mk>

View File

@ -2,13 +2,13 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= compatibility PORTNAME= compatibility
PORTVERSION=2.0.16 PORTVERSION= 2.0.16
PORTREVISION= 1
CATEGORIES= mail www CATEGORIES= mail www
DISTNAME= ${PORTNAME}-${PORTVERSION}-1.0 DISTNAME= ${PORTNAME}-${PORTVERSION}-1.0
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= Required by many plugins for compatibility with SquirrelMail COMMENT= Required by many plugins for compatibility with SquirrelMail
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" .include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.post.mk> .include <bsd.port.mk>

View File

@ -2,7 +2,7 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= email_footer PORTNAME= email_footer
PORTVERSION=0.6 PORTVERSION= 0.6
PORTREVISION= 1 PORTREVISION= 1
CATEGORIES= mail www CATEGORIES= mail www
DISTNAME= ${PORTNAME}-${PORTVERSION}-1.4.2 DISTNAME= ${PORTNAME}-${PORTVERSION}-1.4.2
@ -15,6 +15,5 @@ USE_GENERIC_PKGMESSAGE= yes
LICENSE= GPLv2 LICENSE= GPLv2
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" .include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.post.mk> .include <bsd.port.mk>

View File

@ -1,19 +1,18 @@
# Created by: Stefan Bethke <stb@lassitu.de> # Created by: Stefan Bethke <stb@lassitu.de>
# $FreeBSD$ # $FreeBSD$
PORTNAME= login_auth PORTNAME= login_auth
PORTVERSION= 3.0 PORTVERSION= 3.0
PORTREVISION= 1 PORTREVISION= 2
CATEGORIES= mail www CATEGORIES= mail www
MASTER_SITES= http://www.squirrelmail.org/plugins/ \ MASTER_SITES= http://www.squirrelmail.org/plugins/ \
http://www.transit.hanse.de/mirror/www.squirrelmail.org/plugins/ http://www.transit.hanse.de/mirror/www.squirrelmail.org/plugins/
DISTNAME= ${PORTNAME}-${PORTVERSION}-1.4.0 DISTNAME= ${PORTNAME}-${PORTVERSION}-1.4.0
MAINTAINER= stb@lassitu.de MAINTAINER= stb@lassitu.de
COMMENT= Automatically log in user based on HTTP authentication COMMENT= Automatically log in user based on HTTP authentication
SQUIRREL_PLUGIN_NAME= ${PORTNAME} SQUIRREL_PLUGIN_NAME= ${PORTNAME}
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" .include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.post.mk> .include <bsd.port.mk>

View File

@ -2,8 +2,8 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= login_notes PORTNAME= login_notes
PORTVERSION=1.2 PORTVERSION= 1.2
PORTREVISION= 1 PORTREVISION= 2
CATEGORIES= mail www CATEGORIES= mail www
DISTNAME= ${SQUIRREL_PLUGIN_NAME}-${PORTVERSION}-1.4.0 DISTNAME= ${SQUIRREL_PLUGIN_NAME}-${PORTVERSION}-1.4.0
@ -15,6 +15,5 @@ LICENSE= GPLv2
USE_SM_COMPAT= yes USE_SM_COMPAT= yes
USE_GENERIC_PKGMESSAGE= yes USE_GENERIC_PKGMESSAGE= yes
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" .include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.post.mk> .include <bsd.port.mk>

View File

@ -3,8 +3,8 @@
PORTNAME= mark_read PORTNAME= mark_read
PORTVERSION= 1.4.2 PORTVERSION= 1.4.2
PORTREVISION= 3 PORTREVISION= 4
CATEGORIES= mail www CATEGORIES= mail www
DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION}-1.2 DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION}-1.2
MAINTAINER= itetcu@FreeBSD.org MAINTAINER= itetcu@FreeBSD.org
@ -17,6 +17,5 @@ SQUIRREL_PLUGIN_NAME= ${PORTNAME:S/-/_/}
post-patch: post-patch:
@${RM} ${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/mark_read.php.orig @${RM} ${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/mark_read.php.orig
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" .include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.post.mk> .include <bsd.port.mk>

View File

@ -1,10 +1,10 @@
# Created by: Gerrit Beine <gerrit.beine@gmx.de> # Created by: Gerrit Beine <gerrit.beine@gmx.de>
# $FreeBSD$ # $FreeBSD$
PORTNAME= multilogin PORTNAME= multilogin
PORTVERSION= 2.4 PORTVERSION= 2.4
PORTREVISION= 2 PORTREVISION= 3
CATEGORIES= mail www CATEGORIES= mail www
DISTNAME= ${PORTNAME}-${PORTVERSION}-1.2.9 DISTNAME= ${PORTNAME}-${PORTVERSION}-1.2.9
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
@ -13,6 +13,5 @@ COMMENT= Allows manual selection of login server on login page
USE_SM_COMPAT= yes USE_SM_COMPAT= yes
USE_GENERIC_PKGMESSAGE= yes USE_GENERIC_PKGMESSAGE= yes
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" .include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.post.mk> .include <bsd.port.mk>

View File

@ -1,18 +1,17 @@
# Created by: Gerrit Beine <gerrit.beine@gmx.de> # Created by: Gerrit Beine <gerrit.beine@gmx.de>
# $FreeBSD$ # $FreeBSD$
PORTNAME= notes PORTNAME= notes
PORTVERSION= 1.2 PORTVERSION= 1.2
PORTREVISION= 2 PORTREVISION= 3
CATEGORIES= mail www CATEGORIES= mail www
DISTNAME= ${PORTNAME}.${PORTVERSION}-1.4.0 DISTNAME= ${PORTNAME}.${PORTVERSION}-1.4.0
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= Allows you to create notes COMMENT= Allows you to create notes
USE_SM_COMPAT= yes USE_SM_COMPAT= yes
USE_GENERIC_PKGMESSAGE= yes USE_GENERIC_PKGMESSAGE= yes
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" .include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.post.mk> .include <bsd.port.mk>

View File

@ -1,17 +1,16 @@
# Created by: Gerrit Beine <gerrit.beine@gmx.de> # Created by: Gerrit Beine <gerrit.beine@gmx.de>
# $FreeBSD$ # $FreeBSD$
PORTNAME= notify PORTNAME= notify
PORTVERSION= 1.3 PORTVERSION= 1.3
PORTREVISION= 2 PORTREVISION= 3
CATEGORIES= mail www CATEGORIES= mail www
DISTNAME= ${PORTNAME}_${PORTVERSION:S/./_/g} DISTNAME= ${PORTNAME}_${PORTVERSION:S/./_/g}
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= Notify when new mail arrives COMMENT= Notify when new mail arrives
USE_SM_COMPAT= yes USE_SM_COMPAT= yes
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" .include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.post.mk> .include <bsd.port.mk>

View File

@ -3,7 +3,7 @@
PORTNAME= password_forget PORTNAME= password_forget
PORTVERSION= 2.2 PORTVERSION= 2.2
PORTREVISION= 1 PORTREVISION= 2
CATEGORIES= mail www CATEGORIES= mail www
DISTNAME= ${SQUIRREL_PLUGIN_NAME}-${PORTVERSION}-1.0.1 DISTNAME= ${SQUIRREL_PLUGIN_NAME}-${PORTVERSION}-1.0.1

View File

@ -3,8 +3,8 @@
PORTNAME= pupdate PORTNAME= pupdate
PORTVERSION= 0.7 PORTVERSION= 0.7
PORTREVISION= 3 PORTREVISION= 4
CATEGORIES= mail www CATEGORIES= mail www
DISTNAME= ${PORTNAME}.${PORTVERSION}-1.4.2 DISTNAME= ${PORTNAME}.${PORTVERSION}-1.4.2
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
@ -14,6 +14,5 @@ LICENSE= GPLv2
USE_GENERIC_PKGMESSAGE= yes USE_GENERIC_PKGMESSAGE= yes
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" .include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.post.mk> .include <bsd.port.mk>

View File

@ -1,11 +1,11 @@
# Created by: Gerrit Beine <gerrit.beine@gmx.de> # Created by: Gerrit Beine <gerrit.beine@gmx.de>
# $FreeBSD$ # $FreeBSD$
PORTNAME= qmailadmin_login PORTNAME= qmailadmin_login
PORTVERSION= 1.1 PORTVERSION= 1.1
PORTREVISION= 3 PORTREVISION= 4
CATEGORIES= mail www CATEGORIES= mail www
DISTNAME= ${PORTNAME}-${PORTVERSION}-1.4.3 DISTNAME= ${PORTNAME}-${PORTVERSION}-1.4.3
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= Using the QmailAdmin cgi interface from SquirrelMail COMMENT= Using the QmailAdmin cgi interface from SquirrelMail
@ -14,6 +14,5 @@ RUN_DEPENDS= ${PREFIX}/www/cgi-bin.default/qmailadmin/qmailadmin:${PORTSDIR}/mai
USE_GENERIC_PKGMESSAGE= yes USE_GENERIC_PKGMESSAGE= yes
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" .include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.post.mk> .include <bsd.port.mk>

View File

@ -1,18 +1,17 @@
# Created by: Gerrit Beine <gerrit.beine@gmx.de> # Created by: Gerrit Beine <gerrit.beine@gmx.de>
# $FreeBSD$ # $FreeBSD$
PORTNAME= quota_usage PORTNAME= quota_usage
PORTVERSION= 1.3.1 PORTVERSION= 1.3.1
PORTREVISION= 2 PORTREVISION= 3
CATEGORIES= mail www CATEGORIES= mail www
DISTNAME= ${PORTNAME}-${PORTVERSION}-1.2.7 DISTNAME= ${PORTNAME}-${PORTVERSION}-1.2.7
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= View quota and current usage COMMENT= View quota and current usage
USE_SM_COMPAT= yes USE_SM_COMPAT= yes
USE_GENERIC_PKGMESSAGE= yes USE_GENERIC_PKGMESSAGE= yes
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" .include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.post.mk> .include <bsd.port.mk>

View File

@ -1,10 +1,10 @@
# Created by: Gerrit Beine <gerrit.beine@gmx.de> # Created by: Gerrit Beine <gerrit.beine@gmx.de>
# $FreeBSD$ # $FreeBSD$
PORTNAME= sasql PORTNAME= sasql
PORTVERSION= 3.2.0 PORTVERSION= 3.2.0
PORTREVISION= 2 PORTREVISION= 3
CATEGORIES= mail www CATEGORIES= mail www
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= Edit SpamAssassin settings stored in an SQL DB COMMENT= Edit SpamAssassin settings stored in an SQL DB
@ -20,6 +20,5 @@ post-patch:
${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/sasql_hooks.php ${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/sasql_hooks.php
-@${RM} ${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/*.bak ${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/.cvsignore -@${RM} ${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/*.bak ${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/.cvsignore
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" .include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.post.mk> .include <bsd.port.mk>

View File

@ -2,8 +2,8 @@
PORTNAME= secure_login PORTNAME= secure_login
PORTVERSION= 1.4 PORTVERSION= 1.4
PORTREVISION= 2 PORTREVISION= 3
CATEGORIES= mail www CATEGORIES= mail www
DISTNAME= ${PORTNAME}-${PORTVERSION}-1.2.8 DISTNAME= ${PORTNAME}-${PORTVERSION}-1.2.8
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
@ -13,6 +13,5 @@ LICENSE= GPLv2
USE_GENERIC_PKGMESSAGE= yes USE_GENERIC_PKGMESSAGE= yes
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" .include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.post.mk> .include <bsd.port.mk>

View File

@ -1,14 +1,14 @@
# Created by: Gerrit Beine <gerrit.beine@gmx.de> # Created by: Gerrit Beine <gerrit.beine@gmx.de>
# $FreeBSD$ # $FreeBSD$
PORTNAME= shared_calendars PORTNAME= shared_calendars
PORTVERSION= 2.0.1 PORTVERSION= 2.0.1
PORTREVISION= 2 PORTREVISION= 3
CATEGORIES= mail www CATEGORIES= mail www
DISTNAME= ${PORTNAME}-${PORTVERSION}-1.4.0 DISTNAME= ${PORTNAME}-${PORTVERSION}-1.4.0
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= iCal-compliant calendaring for SquirrelMail COMMENT= iCal-compliant calendaring for SquirrelMail
RUN_DEPENDS= ${SQUIRRELDIR}/plugins/calendar_file_backend:${PORTSDIR}/mail/squirrelmail-calendar_file_backend-plugin RUN_DEPENDS= ${SQUIRRELDIR}/plugins/calendar_file_backend:${PORTSDIR}/mail/squirrelmail-calendar_file_backend-plugin
@ -16,6 +16,5 @@ USE_SM_COMPAT= yes
USE_GENERIC_PKGMESSAGE= yes USE_GENERIC_PKGMESSAGE= yes
_SMSRCDIR= calendar _SMSRCDIR= calendar
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" .include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.post.mk> .include <bsd.port.mk>

View File

@ -3,8 +3,8 @@
PORTNAME= spam-buttons PORTNAME= spam-buttons
PORTVERSION= 2.3.1 PORTVERSION= 2.3.1
PORTREVISION= 1 PORTREVISION= 2
CATEGORIES= mail www CATEGORIES= mail www
DISTNAME= ${SQUIRREL_PLUGIN_NAME}-${PORTVERSION}-1.4.0 DISTNAME= ${SQUIRREL_PLUGIN_NAME}-${PORTVERSION}-1.4.0
DIST_SUBDIR= squirrelmail DIST_SUBDIR= squirrelmail
@ -17,7 +17,6 @@ SQUIRREL_PLUGIN_NAME= ${PORTNAME:S/-/_/}
OPTIONS_DEFINE= DOCS OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" .include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
post-extract: post-extract:
@ -25,4 +24,4 @@ post-extract:
@${RM} ${WRKSRC}/${_SMSRCDIR}/README @${RM} ${WRKSRC}/${_SMSRCDIR}/README
@${MV} ${WRKSRC}/${_SMSRCDIR}/docs ${WRKSRC}/${_SMSRCDIR}/doc @${MV} ${WRKSRC}/${_SMSRCDIR}/docs ${WRKSRC}/${_SMSRCDIR}/doc
.include <bsd.port.post.mk> .include <bsd.port.mk>

View File

@ -3,8 +3,8 @@
PORTNAME= squirrel_logger PORTNAME= squirrel_logger
PORTVERSION= 2.3 PORTVERSION= 2.3
PORTREVISION= 1 PORTREVISION= 2
CATEGORIES= mail www CATEGORIES= mail www
DISTNAME= ${PORTNAME}-${PORTVERSION}-1.2.7 DISTNAME= ${PORTNAME}-${PORTVERSION}-1.2.7
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
@ -12,6 +12,5 @@ COMMENT= Logging functionality for your webmail interface
USE_SM_COMPAT= yes USE_SM_COMPAT= yes
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" .include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.post.mk> .include <bsd.port.mk>

View File

@ -2,8 +2,8 @@
PORTNAME= timeout_user PORTNAME= timeout_user
PORTVERSION= 1.1.1 PORTVERSION= 1.1.1
PORTREVISION= 4 PORTREVISION= 5
CATEGORIES= mail www CATEGORIES= mail www
DISTNAME= ${PORTNAME}-${PORTVERSION}-0.5 DISTNAME= ${PORTNAME}-${PORTVERSION}-0.5
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
@ -18,6 +18,5 @@ USE_GENERIC_PKGMESSAGE= yes
post-patch: post-patch:
@${MV} ${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/config.php ${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/config.php.sample @${MV} ${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/config.php ${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/config.php.sample
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" .include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.post.mk> .include <bsd.port.mk>

View File

@ -3,8 +3,8 @@
PORTNAME= unsafe_image_rules PORTNAME= unsafe_image_rules
PORTVERSION= 0.8 PORTVERSION= 0.8
PORTREVISION= 2 PORTREVISION= 3
CATEGORIES= mail www CATEGORIES= mail www
DISTNAME= ${PORTNAME:S/-/_/}.${PORTVERSION}-1.4 DISTNAME= ${PORTNAME:S/-/_/}.${PORTVERSION}-1.4
MAINTAINER= itetcu@FreeBSD.org MAINTAINER= itetcu@FreeBSD.org
@ -14,6 +14,5 @@ USE_SM_COMPAT= yes
SQUIRREL_PLUGIN_NAME= ${PORTNAME:S/-/_/} SQUIRREL_PLUGIN_NAME= ${PORTNAME:S/-/_/}
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" .include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.post.mk> .include <bsd.port.mk>

View File

@ -3,8 +3,8 @@
PORTNAME= user_special_mailboxes PORTNAME= user_special_mailboxes
PORTVERSION= 0.1 PORTVERSION= 0.1
PORTREVISION= 2 PORTREVISION= 3
CATEGORIES= mail www CATEGORIES= mail www
DISTNAME= ${PORTNAME:S/-/_/}.${PORTVERSION}-1.4 DISTNAME= ${PORTNAME:S/-/_/}.${PORTVERSION}-1.4
MAINTAINER= itetcu@FreeBSD.org MAINTAINER= itetcu@FreeBSD.org
@ -14,6 +14,5 @@ USE_SM_COMPAT= yes
SQUIRREL_PLUGIN_NAME= ${PORTNAME:S/-/_/} SQUIRREL_PLUGIN_NAME= ${PORTNAME:S/-/_/}
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" .include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.post.mk> .include <bsd.port.mk>

View File

@ -3,7 +3,7 @@
PORTNAME= vlogin PORTNAME= vlogin
PORTVERSION= 3.10.2 PORTVERSION= 3.10.2
PORTREVISION= 1 PORTREVISION= 2
CATEGORIES= mail www CATEGORIES= mail www
DISTNAME= ${PORTNAME}-${PORTVERSION}-1.2.7 DISTNAME= ${PORTNAME}-${PORTVERSION}-1.2.7
@ -19,12 +19,12 @@ OPTIONS_DEFINE= DOCS
# We need to rearrange, install and cleanup documentation pre-install # We need to rearrange, install and cleanup documentation pre-install
# because bsd.squirrelmail.mk installs everything under ${WRKSRC}/${PORTNAME}. # because bsd.squirrelmail.mk installs everything under ${WRKSRC}/${PORTNAME}.
pre-install:: pre-install::
cd ${WRKSRC}/${PORTNAME}/docs \ ${RM} ${WRKSRC}/${PORTNAME}/docs/.htaccess
&& ${RM} .htaccess index.php \ ${RM} ${WRKSRC}/${PORTNAME}/docs/index.php
&& ${MKDIR} ${STAGEDIR}${DOCSDIR} \ @${MKDIR} ${STAGEDIR}${DOCSDIR}
&& ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR} \ (cd ${WRKSRC}/${PORTNAME}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
&& cd ${WRKSRC}/${PORTNAME} \ ${RM} -rf ${WRKSRC}/${PORTNAME}/README
&& ${RM} -rf README docs ${RM} -rf ${WRKSRC}/${PORTNAME}/docs
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" .include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -3,8 +3,8 @@
PORTNAME= web_search PORTNAME= web_search
PORTVERSION= 0.1.6 PORTVERSION= 0.1.6
PORTREVISION= 3 PORTREVISION= 4
CATEGORIES= mail www CATEGORIES= mail www
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= Plugin for Websearch COMMENT= Plugin for Websearch
@ -19,6 +19,5 @@ SQUIRREL_PLUGIN_CONFIG= ${SQUIRREL_PLUGIN_NAME}.conf.php
post-patch: post-patch:
@${MV} ${WRKSRC}/${_SMSRCDIR}/${SQUIRREL_PLUGIN_CONFIG}.dist ${WRKSRC}/${_SMSRCDIR}/${SQUIRREL_PLUGIN_CONFIG}.sample @${MV} ${WRKSRC}/${_SMSRCDIR}/${SQUIRREL_PLUGIN_CONFIG}.dist ${WRKSRC}/${_SMSRCDIR}/${SQUIRREL_PLUGIN_CONFIG}.sample
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" .include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.post.mk> .include <bsd.port.mk>

View File

@ -1,16 +1,15 @@
# Created by: Gerrit Beine <gerrit.beine@gmx.de> # Created by: Gerrit Beine <gerrit.beine@gmx.de>
# $FreeBSD$ # $FreeBSD$
PORTNAME= wetteronline PORTNAME= wetteronline
PORTVERSION= 0.1 PORTVERSION= 0.1
PORTREVISION= 2 PORTREVISION= 3
CATEGORIES= mail www CATEGORIES= mail www
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= Plugin for the weather in Germany COMMENT= Plugin for the weather in Germany
USE_SM_COMPAT= yes USE_SM_COMPAT= yes
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk" .include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
.include <bsd.port.post.mk> .include <bsd.port.mk>

View File

@ -56,7 +56,8 @@ SUB_LIST+= SQUIRREL_PLUGIN_NAME=${SQUIRREL_PLUGIN_NAME}
# As with mail/squirreldir, if you were using WITHOUT_WWWDIR=yes, # As with mail/squirreldir, if you were using WITHOUT_WWWDIR=yes,
# set SQUIRRELDIR=${PREFIX}/squirrelmail # set SQUIRRELDIR=${PREFIX}/squirrelmail
SQUIRRELDIR?= ${PREFIX}/www/squirrelmail SQUIRRELDIR?= ${PREFIX}/www/squirrelmail
PLIST_SUB+= SQUIRRELDIR=${SQUIRRELDIR:S,${PREFIX}/,,} SQUIRRELDIR_REL=${SQUIRRELDIR:S,${PREFIX}/,,}
PLIST_SUB+= SQUIRRELDIR=${SQUIRRELDIR_REL}
SUB_LIST+= SQUIRRELDIR=${SQUIRRELDIR} SUB_LIST+= SQUIRRELDIR=${SQUIRRELDIR}
SQUIRREL_PLUGIN_CONFIG?= config.php SQUIRREL_PLUGIN_CONFIG?= config.php
@ -102,18 +103,16 @@ do-install:
.if !target(post-install) .if !target(post-install)
post-install: post-install:
.ifndef WITHOUT_ACTIVATE .ifndef WITHOUT_ACTIVATE
.if exists(${SQUIRRELDIR}/config/config.php) @${ECHO_CMD} \
@${ECHO_CMD} "Activating plug-in in SquirrelMail" '@exec if [ -f %D/${SQUIRRELDIR_REL}/config/conf.pl ]; then %D/${SQUIRRELDIR_REL}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}; fi' \
${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME} >> ${TMPPLIST}
.endif @${ECHO_CMD} \
'@unexec if [ -f %D/${SQUIRRELDIR_REL}/config/conf.pl ]; then %D/${SQUIRRELDIR_REL}/config/conf.pl --remove-plugin ${SQUIRREL_PLUGIN_NAME}; fi' \
>> ${TMPPLIST}
.else .else
@${ECHO_CMD} "To activate the plug-in in SquirrelMail use" @${ECHO_CMD} \
@${ECHO_CMD} "${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}" '@exec echo "To activate the plug-in in SquirrelMail use" && echo ""%D/${SQUIRRELDIR_REL}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}"' \
>> ${TMPPLIST}
.endif .endif
@${ECHO_CMD} ""
.if exists(${FILESDIR}/pkg-message.in) || exists(${FILESDIR}/plugin-pkg-message.in)
@${CAT} ${PKGMESSAGE}
@${ECHO_CMD} ""
.endif
.endif .endif