- Convert remaining plugins to bsd.squirrelmail.mk.
- Change the perl5 dependency to install, which it is - Correct path in pkg-message
This commit is contained in:
parent
d18a180211
commit
c61905043e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335912
13 changed files with 90 additions and 448 deletions
|
@ -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 <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -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 <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -1,77 +1,25 @@
|
|||
# Created by: Gerrit Beine <gerrit.beine@gmx.de>
|
||||
# $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 <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -1,72 +1,25 @@
|
|||
# Created by: Gerrit Beine <gerrit.beine@gmx.de>
|
||||
# $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 <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -1,77 +1,25 @@
|
|||
# Created by: Gerrit Beine <gerrit.beine@gmx.de>
|
||||
# $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 <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -1,79 +1,29 @@
|
|||
# Created by: Gerrit Beine <gerrit.beine@gmx.de>
|
||||
# $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 <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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 <bsd.port.options.mk>
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.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 <bsd.port.mk>
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -1,74 +1,24 @@
|
|||
# Created by: Gerrit Beine <gerrit.beine@gmx.de>
|
||||
# $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 <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
Loading…
Reference in a new issue