mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Stage support
- While here cleanup some whitespaces / dependencys
This commit is contained in:
parent
5445cec046
commit
afba853254
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344880
@ -13,8 +13,6 @@ COMMENT= Allows for the importing of addressbooks from a CSV (comma separated va
|
||||
|
||||
SQUIRREL_PLUGIN_NAME= ${PORTNAME:S/-/_/}
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -9,8 +9,6 @@ DISTNAME= ${PORTNAME}.${PORTVERSION}-1.4.0
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Ask user to enter Full name and Email address at initial logon
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -9,8 +9,6 @@ CATEGORIES= mail www
|
||||
MAINTAINER= neil@darlow.co.uk
|
||||
COMMENT= SquirrelMail plugin for Server-Side Mail Filtering management
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
pre-install:
|
||||
${RM} -Rf ${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/po
|
||||
${FIND} ${WRKSRC}/${SQUIRREL_PLUGIN_NAME} -type f \
|
||||
|
@ -10,8 +10,6 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-2.0
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= File backend for SquirrelMail Calendar plugin
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -17,8 +17,6 @@ USES= gettext
|
||||
|
||||
USE_GENERIC_PKGMESSAGE= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
.include <bsd.port.mk>
|
||||
|
@ -16,8 +16,6 @@ RUN_DEPENDS= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB
|
||||
|
||||
SQUIRREL_PLUGIN_NAME= ${PORTNAME:S/-/_/}
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -14,8 +14,6 @@ USE_SM_COMPAT= YES
|
||||
|
||||
SQUIRREL_PLUGIN_NAME= ${PORTNAME:S/-/_/}
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -9,8 +9,6 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-1.0
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Required by many plugins for compatibility with SquirrelMail
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -15,8 +15,6 @@ USE_GENERIC_PKGMESSAGE= yes
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -14,8 +14,6 @@ COMMENT= Automatically log in user based on HTTP authentication
|
||||
|
||||
SQUIRREL_PLUGIN_NAME= ${PORTNAME}
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -15,8 +15,6 @@ LICENSE= GPLv2
|
||||
USE_SM_COMPAT= yes
|
||||
USE_GENERIC_PKGMESSAGE= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -14,7 +14,6 @@ USE_SM_COMPAT= YES
|
||||
|
||||
SQUIRREL_PLUGIN_NAME= ${PORTNAME:S/-/_/}
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${RM} ${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/mark_read.php.orig
|
||||
|
||||
|
@ -13,8 +13,6 @@ COMMENT= Allows manual selection of login server on login page
|
||||
USE_SM_COMPAT= yes
|
||||
USE_GENERIC_PKGMESSAGE= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -13,8 +13,6 @@ COMMENT= Allows you to create notes
|
||||
USE_SM_COMPAT= yes
|
||||
USE_GENERIC_PKGMESSAGE= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -12,8 +12,6 @@ COMMENT= Notify when new mail arrives
|
||||
|
||||
USE_SM_COMPAT= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -12,8 +12,6 @@ COMMENT= Prevent reuse of login details by browsers at public terminals
|
||||
|
||||
USE_SM_COMPAT= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -14,8 +14,6 @@ LICENSE= GPLv2
|
||||
|
||||
USE_GENERIC_PKGMESSAGE= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -14,8 +14,6 @@ RUN_DEPENDS= ${PREFIX}/www/cgi-bin.default/qmailadmin/qmailadmin:${PORTSDIR}/mai
|
||||
|
||||
USE_GENERIC_PKGMESSAGE= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -13,8 +13,6 @@ COMMENT= View quota and current usage
|
||||
USE_SM_COMPAT= yes
|
||||
USE_GENERIC_PKGMESSAGE= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -14,8 +14,6 @@ RUN_DEPENDS= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB
|
||||
USE_SM_COMPAT= yes
|
||||
USE_GENERIC_PKGMESSAGE= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s/\(\$$imap_server_type == \'cyrus\'\)/\1 || \$$imap_server_type == \'courier\'/g" \
|
||||
-e 's/session_register/sqsession_register/g' \
|
||||
|
@ -13,8 +13,6 @@ LICENSE= GPLv2
|
||||
|
||||
USE_GENERIC_PKGMESSAGE= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -16,8 +16,6 @@ USE_SM_COMPAT= yes
|
||||
USE_GENERIC_PKGMESSAGE= yes
|
||||
_SMSRCDIR= calendar
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
.include <bsd.port.mk>
|
||||
|
@ -15,7 +15,6 @@ USE_SM_COMPAT= yes
|
||||
|
||||
SQUIRREL_PLUGIN_NAME= ${PORTNAME:S/-/_/}
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
|
||||
|
@ -12,8 +12,6 @@ COMMENT= Logging functionality for your webmail interface
|
||||
|
||||
USE_SM_COMPAT= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -14,7 +14,6 @@ LICENSE= GPLv2
|
||||
USE_SM_COMPAT= yes
|
||||
USE_GENERIC_PKGMESSAGE= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
post-patch:
|
||||
@${MV} ${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/config.php ${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/config.php.sample
|
||||
|
@ -31,7 +31,6 @@ PLIST_SUB+= SQUIRRELDIR=squirrelmail
|
||||
TMDATOOLDIR?= ${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME}
|
||||
PLIST_SUB+= TMDATOOLDIR=plugins/${SQUIRREL_PLUGIN_NAME}
|
||||
|
||||
NO_STAGE= yes
|
||||
pre-everything::
|
||||
@${ECHO} "The plugin expects SquirrelMail install in ${SQUIRRELDIR}"
|
||||
@${ECHO} "To use the old location ${PREFIX}/squirrelmail define WITHOUT_WWWDIR=yes"
|
||||
@ -44,9 +43,9 @@ post-patch:
|
||||
@${RM} ${WRKSRC}/tmdatools_config.php.sample.bak
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${TMDATOOLDIR}
|
||||
@${CP} -Rp ${WRKSRC}/ ${TMDATOOLDIR}
|
||||
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${TMDATOOLDIR}
|
||||
@${MKDIR} ${STAGEDIR}${TMDATOOLDIR}
|
||||
@${CP} -Rp ${WRKSRC}/ ${STAGEDIR}${TMDATOOLDIR}
|
||||
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${TMDATOOLDIR}
|
||||
@${RM} -f ${WRKSRC}/tmdatools_config.php.sample.bak
|
||||
|
||||
post-install:
|
||||
|
@ -14,8 +14,6 @@ USE_SM_COMPAT= yes
|
||||
|
||||
SQUIRREL_PLUGIN_NAME= ${PORTNAME:S/-/_/}
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -14,8 +14,6 @@ USE_SM_COMPAT= yes
|
||||
|
||||
SQUIRREL_PLUGIN_NAME= ${PORTNAME:S/-/_/}
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -14,7 +14,6 @@ USE_SM_COMPAT= yes
|
||||
|
||||
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
|
||||
@ -24,8 +23,8 @@ pre-install::
|
||||
.if !defined(NOPORTDOCS)
|
||||
cd ${WRKSRC}/${PORTNAME}/docs \
|
||||
&& ${RM} .htaccess index.php \
|
||||
&& ${MKDIR} ${DOCSDIR} \
|
||||
&& ${COPYTREE_SHARE} \* ${DOCSDIR} \
|
||||
&& ${MKDIR} ${STAGEDIR}${DOCSDIR} \
|
||||
&& ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR} \
|
||||
&& cd ${WRKSRC}/${PORTNAME} \
|
||||
&& ${RM} -rf README docs
|
||||
.else
|
||||
|
@ -16,8 +16,6 @@ USE_GENERIC_PKGMESSAGE= yes
|
||||
|
||||
SQUIRREL_PLUGIN_CONFIG= ${SQUIRREL_PLUGIN_NAME}.conf.php
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
post-patch:
|
||||
@${MV} ${WRKSRC}/${_SMSRCDIR}/${SQUIRREL_PLUGIN_CONFIG}.dist ${WRKSRC}/${_SMSRCDIR}/${SQUIRREL_PLUGIN_CONFIG}.sample
|
||||
|
||||
|
@ -11,8 +11,6 @@ COMMENT= Plugin for the weather in Germany
|
||||
|
||||
USE_SM_COMPAT= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -92,19 +92,19 @@ _SMSRCDIR?= ${SQUIRREL_PLUGIN_NAME}
|
||||
.if !target(do-install)
|
||||
do-install:
|
||||
cd ${WRKSRC}/${_SMSRCDIR} && ${FIND} -d . | \
|
||||
${CPIO} -dump ${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME} >/dev/null 2>&1 && \
|
||||
${FIND} ${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME} \
|
||||
${CPIO} -dump ${STAGEDIR}${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME} >/dev/null 2>&1 && \
|
||||
${FIND} ${STAGEDIR}${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME} \
|
||||
-type d -exec chmod 755 {} \; && \
|
||||
${FIND} ${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME} \
|
||||
${FIND} ${STAGEDIR}${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME} \
|
||||
-type f -exec chmod 644 {} \;
|
||||
.endif
|
||||
|
||||
.if !target(post-install)
|
||||
post-install:
|
||||
.ifndef WITHOUT_ACTIVATE
|
||||
.if exists( ${SQUIRRELDIR}/config/config.php )
|
||||
.if exists( ${STAGEDIR}${SQUIRRELDIR}/config/config.php )
|
||||
@${ECHO_CMD} "Activating plug-in in SquirrelMail"
|
||||
${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}
|
||||
${STAGEDIR}${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}
|
||||
.endif
|
||||
.else
|
||||
@${ECHO_CMD} "To activate the plug-in in SquirrelMail use"
|
||||
|
Loading…
Reference in New Issue
Block a user