summaryrefslogtreecommitdiff
path: root/deskutils/horde4-mnemo/Makefile
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2003-01-30 09:24:05 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2003-01-30 09:24:05 +0000
commit38f451f51c0073666ca8d54320a2cb8f635c4c76 (patch)
tree833dd97079d3635ce13cb94e7117cc0d648112bf /deskutils/horde4-mnemo/Makefile
parentUpgrade to 1.0.1. (diff)
Upgrade to 1.1.
PR: ports/47230 Submitted by: Thierry Thomas <thierry@pompo.net>
Notes
Notes: svn path=/head/; revision=74255
Diffstat (limited to 'deskutils/horde4-mnemo/Makefile')
-rw-r--r--deskutils/horde4-mnemo/Makefile25
1 files changed, 16 insertions, 9 deletions
diff --git a/deskutils/horde4-mnemo/Makefile b/deskutils/horde4-mnemo/Makefile
index e1cfe0969d02..a565d0f619f2 100644
--- a/deskutils/horde4-mnemo/Makefile
+++ b/deskutils/horde4-mnemo/Makefile
@@ -6,23 +6,29 @@
#
PORTNAME= mnemo
-PORTVERSION= 1.0
+PORTVERSION= 1.1
CATEGORIES= deskutils www
-MASTER_SITES= ftp://ftp.horde.org/pub/mnemo/tarballs/%SUBDIR%/
-MASTER_SITE_SUBDIR= . old
+MASTER_SITES= ftp://ftp.horde.org/pub/mnemo/ \
+ ftp://ftp.au.horde.org/pub/horde/mnemo/ \
+ ftp://ftp.es.horde.org/pub/mnemo/ \
+ ftp://ftp.it.horde.org/pub/mirror/horde.org/mnemo/ \
+ ftp://ftp.nl.horde.org/mirror/horde-ftp/pub/mnemo/ \
+ ftp://ftp.pt.horde.org/pub/horde-ftp/mnemo/
MAINTAINER= thierry@pompo.net
RUN_DEPENDS= ${LOCALBASE}/www/horde/imp/index.php:${PORTSDIR}/mail/imp3
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
NO_BUILD= yes
+USE_REINPLACE= yes
+
+REINPLACE_ARGS= -i.beforeMnemo
+
PLIST_SUB= HORDEDIR=${LHORDEDIR} MNEMODIR=${LMNEMODIR}
-USE_PERL5= yes
DOCS= LICENSE README docs/CHANGES docs/CREDITS docs/INSTALL
-CONFFILE= conf.php html.php menu.php prefs.php
-SUB_DIRS= config graphics lib locale po scripts templates
+CONFFILE= conf.php menu.php prefs.php
+SUB_DIRS= config graphics lib locale po scripts templates util
LHORDEDIR?= www/horde
LMNEMODIR?= ${LHORDEDIR}/mnemo
@@ -47,11 +53,12 @@ do-install:
@${CHOWN} -R www:www ${MNEMODIR}
@${CHMOD} -R o-rwx ${CONFDIR}
@${CP} -p ${FILESDIR}/httpd.conf.mnemo ${HORDE_INC}
- @${PERL} -pi -e "s:/home/httpd/html/horde/mnemo:${MNEMODIR}:g" \
+ @${REINPLACE_CMD} -e "s:/home/httpd/html/horde/mnemo:${MNEMODIR}:g" \
${HORDE_INC}/httpd.conf.mnemo
+ @${RM} ${HORDE_INC}/httpd.conf.mnemo.beforeMnemo
@${CP} -p ${HORDEDIR}/config/registry.php \
${HORDEDIR}/config/registry.php.beforeMnemo
- @${PERL} -pi -e "s://UNCOMMENTWHENINSTMNEMO::" ${HORDEDIR}/config/registry.php
+ @${REINPLACE_CMD} -e "s://UNCOMMENTWHENINSTMNEMO::" ${HORDEDIR}/config/registry.php
@${CP} -p ${HORDEDIR}/config/registry.php \
${HORDEDIR}/config/registry.php.afterMnemo
.if !defined(NOPORTDOCS)