From 39d24e832bd6541e78cac0426abedbfb5857a8ee Mon Sep 17 00:00:00 2001 From: Thierry Thomas Date: Wed, 15 Mar 2006 20:16:16 +0000 Subject: Upgrade to 2.1. Changelog at --- deskutils/horde-mnemo/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'deskutils/horde-mnemo/Makefile') diff --git a/deskutils/horde-mnemo/Makefile b/deskutils/horde-mnemo/Makefile index e5e46cdc2342..e3177f0c9118 100644 --- a/deskutils/horde-mnemo/Makefile +++ b/deskutils/horde-mnemo/Makefile @@ -6,7 +6,7 @@ # PORTNAME= mnemo -PORTVERSION= 2.0.3 +PORTVERSION= 2.1 CATEGORIES= deskutils www MASTER_SITES= ftp://ftp.horde.org/pub/mnemo/ \ ftp://ftp.planetmirror.com/pub/horde/mnemo/ \ @@ -25,6 +25,7 @@ RUN_DEPENDS= ${LOCALBASE}/${LHORDEDIR}/rpc.php:${PORTSDIR}/www/horde NO_BUILD= yes USE_APACHE= 1.3+ # needed to test APACHE_VERSION +USE_GETTEXT= yes PLIST_SUB= MNEMODIR=${LMNEMODIR} HORDE_INC=${HORDE_INC:S|^${LOCALBASE}/||} PKGMESSAGE= ${WRKDIR}/pkg-message @@ -32,10 +33,11 @@ PKGDEINSTALL= ${WRKDIR}/pkg-deinstall SUB_FILES= pkg-message pkg-deinstall SUB_LIST= MNEMODIR=${MNEMODIR} +REINPLACE_ARGS= -i "" DOCS= LICENSE README docs/CHANGES docs/CREDITS docs/INSTALL \ docs/RELEASE_NOTES docs/TODO docs/UPGRADING CONFFILE= prefs.php -SUB_DIRS= config lib locale po scripts templates themes +SUB_DIRS= config js lib locale po scripts templates themes LHORDEDIR?= www/horde LMNEMODIR?= ${LHORDEDIR}/mnemo @@ -52,6 +54,9 @@ HORDE_INC= ${LOCALBASE}/etc/horde .endif pre-configure: + @(cd ${WRKSRC}/scripts && \ + ${FIND} . -name "*.php" -exec \ + ${REINPLACE_CMD} -e "s:/usr/local/bin/php: ${LOCALBASE}/bin/php:;s:/usr/bin/php: ${LOCALBASE}/bin/php:" {} \; ) @${SED} -e "s:/home/httpd/html/horde/mnemo:${MNEMODIR}:g" \ ${FILESDIR}/httpd.conf.mnemo > ${WRKDIR}/httpd-mnemo.conf -- cgit v1.2.3