1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

- Downgrade to 1.3

This port is just repocopied. So I don't think PORTEPOCH is needed.
- Mark conflict with 2.x version

PR:		ports/108728
Submitted by:	Alexander Wittig <alexander at wittig.name> (maintainer)
This commit is contained in:
Rong-En Fan 2007-02-12 16:36:51 +00:00
parent 7d0c3af13e
commit d0f0205203
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=185012
3 changed files with 12 additions and 76 deletions

View File

@ -1,11 +1,11 @@
# New ports collection makefile for: squirrelmail-compatibility-plugin
# Date created: 3 Jul 2005
# New ports collection makefile for: squirrelmail-compatibility-plugin1
# Date created: 3 Feb 2007
# Whom: Alexander Wittig <alexander@wittig.name>
#
# $FreeBSD$
PORTNAME= squirrelmail
PORTVERSION= 2.0.6
PORTVERSION= 1.3
CATEGORIES= mail www
MASTER_SITES= http://www.squirrelmail.org/plugins/
PKGNAMESUFFIX= -${SQUIRREL_PLUGIN_NAME}-plugin
@ -15,7 +15,9 @@ DIST_SUBDIR= squirrelmail
MAINTAINER= alexander@wittig.name
COMMENT= Required by many plugins for compatibility with SquirrelMail
RUN_DEPENDS= squirrelmail>=1.4.9:${PORTSDIR}/mail/squirrelmail
RUN_DEPENDS= ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail
CONFLICTS= squirrelmail-compatibility-plugin-2.*
SQUIRREL_PLUGIN_NAME= compatibility
@ -36,6 +38,8 @@ NO_WRKSUBDIR= yes
USE_PERL5_BUILD= yes
WANT_PHP_WEB= yes
.include <bsd.port.pre.mk>
pre-everything::
@${ECHO} ""
.ifndef WITHOUT_ACTIVATE
@ -53,11 +57,6 @@ do-install:
${CP} -rp ${WRKSRC}/${SQUIRREL_PLUGIN_NAME} ${SQUIRRELDIR}/plugins
post-install:
@${ECHO} "Patching SquirrelMail for compatibility plugin"
@${ECHO} ""
${PATCH} -sN -p0 -d ${SQUIRRELDIR}/plugins/compatibility < ${SQUIRRELDIR}/plugins/compatibility/patches/compatibility_patch-1.4.9.diff
@${ECHO} ""
.ifndef WITHOUT_ACTIVATE
.if exists( ${SQUIRRELDIR}/config/config.php )
@${ECHO} "Activating plug-in in SquirrelMail"
@ -68,4 +67,4 @@ post-install:
@${ECHO} "${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}"
.endif
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
MD5 (squirrelmail/compatibility-2.0.6.tar.gz) = a0cd6c1e2d307184033b35ee34fd2364
SHA256 (squirrelmail/compatibility-2.0.6.tar.gz) = 3f2c27390bf715d98220849b2445332683daa23a0e05d2a037b17e497f3d114c
SIZE (squirrelmail/compatibility-2.0.6.tar.gz) = 25079
MD5 (squirrelmail/compatibility-1.3.tar.gz) = 049c46507ef161ad4ba5f4d4a0b96d09
SHA256 (squirrelmail/compatibility-1.3.tar.gz) = 0898fe16921f5c9c3855e65eb0dee9079aafbcb322644fb888397332ce04a12c
SIZE (squirrelmail/compatibility-1.3.tar.gz) = 5966

View File

@ -1,72 +1,9 @@
@unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin compatibility; fi
@unexec mv -f %D/%%SQUIRRELDIR%%/functions/strings.php.orig %D/%%SQUIRRELDIR%%/functions/strings.php
@exec mkdir -p %D/%%SQUIRRELDIR%%/plugins/compatibility/includes/1.4.0
@exec mkdir -p %D/%%SQUIRRELDIR%%/plugins/compatibility/includes/1.4.1
@exec mkdir -p %D/%%SQUIRRELDIR%%/plugins/compatibility/includes/1.4.2
@exec mkdir -p %D/%%SQUIRRELDIR%%/plugins/compatibility/includes/1.4.3
@exec mkdir -p %D/%%SQUIRRELDIR%%/plugins/compatibility/includes/1.4.4
@exec mkdir -p %D/%%SQUIRRELDIR%%/plugins/compatibility/includes/1.4.5
@exec mkdir -p %D/%%SQUIRRELDIR%%/plugins/compatibility/includes/1.4.6
@exec mkdir -p %D/%%SQUIRRELDIR%%/plugins/compatibility/includes/1.4.7
@exec mkdir -p %D/%%SQUIRRELDIR%%/plugins/compatibility/includes/1.4.8
@exec mkdir -p %D/%%SQUIRRELDIR%%/plugins/compatibility/includes/1.4.9
@exec mkdir -p %D/%%SQUIRRELDIR%%/plugins/compatibility/includes/1.4.10
@exec mkdir -p %D/%%SQUIRRELDIR%%/plugins/compatibility/includes/1.5.2
%%SQUIRRELDIR%%/plugins/compatibility/compatibility.pot
%%SQUIRRELDIR%%/plugins/compatibility/COPYING
%%SQUIRRELDIR%%/plugins/compatibility/functions.php
%%SQUIRRELDIR%%/plugins/compatibility/getpot
%%SQUIRRELDIR%%/plugins/compatibility/index.php
%%SQUIRRELDIR%%/plugins/compatibility/INSTALL
%%SQUIRRELDIR%%/plugins/compatibility/make_release.sh
%%SQUIRRELDIR%%/plugins/compatibility/README
%%SQUIRRELDIR%%/plugins/compatibility/setup.php
%%SQUIRRELDIR%%/plugins/compatibility/TODO
%%SQUIRRELDIR%%/plugins/compatibility/version
%%SQUIRRELDIR%%/plugins/compatibility/includes/1.2.7/global.php
%%SQUIRRELDIR%%/plugins/compatibility/includes/1.2.8/global.php
%%SQUIRRELDIR%%/plugins/compatibility/includes/1.2.9/global.php
%%SQUIRRELDIR%%/plugins/compatibility/includes/1.2.10/global.php
%%SQUIRRELDIR%%/plugins/compatibility/includes/1.2.11/global.php
%%SQUIRRELDIR%%/plugins/compatibility/includes/1.5.0/global.php
%%SQUIRRELDIR%%/plugins/compatibility/includes/1.5.1/global.php
%%SQUIRRELDIR%%/plugins/compatibility/patches/compatibility_patch-1.4.0.diff
%%SQUIRRELDIR%%/plugins/compatibility/patches/compatibility_patch-1.4.1.diff
%%SQUIRRELDIR%%/plugins/compatibility/patches/compatibility_patch-1.4.2.diff
%%SQUIRRELDIR%%/plugins/compatibility/patches/compatibility_patch-1.4.3.diff
%%SQUIRRELDIR%%/plugins/compatibility/patches/compatibility_patch-1.4.4.diff
%%SQUIRRELDIR%%/plugins/compatibility/patches/compatibility_patch-1.4.5.diff
%%SQUIRRELDIR%%/plugins/compatibility/patches/compatibility_patch-1.4.6.diff
%%SQUIRRELDIR%%/plugins/compatibility/patches/compatibility_patch-1.4.7.diff
%%SQUIRRELDIR%%/plugins/compatibility/patches/compatibility_patch-1.4.8.diff
%%SQUIRRELDIR%%/plugins/compatibility/patches/compatibility_patch-1.4.9.diff
%%SQUIRRELDIR%%/plugins/compatibility/patches/compatibility_patch-1.5.0.diff
%%SQUIRRELDIR%%/plugins/compatibility/patches.old/compatibility_patch-1.2.11.diff
%%SQUIRRELDIR%%/plugins/compatibility/patches.old/compatibility_patch-1.4.4.diff
%%SQUIRRELDIR%%/plugins/compatibility/patches.old/compatibility_patch-1.4.5.diff
%%SQUIRRELDIR%%/plugins/compatibility/patches.old/compatibility_patch-1.4.6.diff
@dirrm %%SQUIRRELDIR%%/plugins/compatibility/includes/1.2.7
@dirrm %%SQUIRRELDIR%%/plugins/compatibility/includes/1.2.8
@dirrm %%SQUIRRELDIR%%/plugins/compatibility/includes/1.2.9
@dirrm %%SQUIRRELDIR%%/plugins/compatibility/includes/1.2.10
@dirrm %%SQUIRRELDIR%%/plugins/compatibility/includes/1.2.11
@dirrm %%SQUIRRELDIR%%/plugins/compatibility/includes/1.4.0
@dirrm %%SQUIRRELDIR%%/plugins/compatibility/includes/1.4.1
@dirrm %%SQUIRRELDIR%%/plugins/compatibility/includes/1.4.2
@dirrm %%SQUIRRELDIR%%/plugins/compatibility/includes/1.4.3
@dirrm %%SQUIRRELDIR%%/plugins/compatibility/includes/1.4.4
@dirrm %%SQUIRRELDIR%%/plugins/compatibility/includes/1.4.5
@dirrm %%SQUIRRELDIR%%/plugins/compatibility/includes/1.4.6
@dirrm %%SQUIRRELDIR%%/plugins/compatibility/includes/1.4.7
@dirrm %%SQUIRRELDIR%%/plugins/compatibility/includes/1.4.8
@dirrm %%SQUIRRELDIR%%/plugins/compatibility/includes/1.4.9
@dirrm %%SQUIRRELDIR%%/plugins/compatibility/includes/1.4.10
@dirrm %%SQUIRRELDIR%%/plugins/compatibility/includes/1.5.0
@dirrm %%SQUIRRELDIR%%/plugins/compatibility/includes/1.5.1
@dirrm %%SQUIRRELDIR%%/plugins/compatibility/includes/1.5.2
@dirrm %%SQUIRRELDIR%%/plugins/compatibility/includes
@dirrm %%SQUIRRELDIR%%/plugins/compatibility/patches
@dirrm %%SQUIRRELDIR%%/plugins/compatibility/patches.old
@dirrm %%SQUIRRELDIR%%/plugins/compatibility
@exec patch -sN -p0 -d %D/%%SQUIRRELDIR%%/plugins/compatibility < %D/%%SQUIRRELDIR%%/plugins/compatibility/patches/compatibility_patch-1.4.5.diff
@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin compatibility; fi