summaryrefslogtreecommitdiff
path: root/deskutils/nag/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/nag/Makefile')
-rw-r--r--deskutils/nag/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/deskutils/nag/Makefile b/deskutils/nag/Makefile
index b095464749fd..2f997563f112 100644
--- a/deskutils/nag/Makefile
+++ b/deskutils/nag/Makefile
@@ -7,10 +7,10 @@
PORTNAME= nag
PORTVERSION= 1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= deskutils www
-MASTER_SITES= ftp://ftp.horde.org/pub/nag/tarballs/
-DISTNAME= ${PORTNAME}-${PORTVERSION}-RC3
+MASTER_SITES= ftp://ftp.horde.org/pub/nag/tarballs/%SUBDIR%/
+MASTER_SITE_SUBDIR= . old
MAINTAINER= thierry@pompo.net
@@ -50,7 +50,11 @@ do-install:
@${CP} -p ${FILESDIR}/httpd.conf.nag ${HORDE_INC}
@${PERL} -pi -e "s:/home/httpd/html/horde/nag:${NAGDIR}:g" \
${HORDE_INC}/httpd.conf.nag
+ @${CP} -p ${HORDEDIR}/config/registry.php \
+ ${HORDEDIR}/config/registry.php.beforeNag
@${PERL} -pi -e "s://UNCOMMENTWHENINSTNAG::" ${HORDEDIR}/config/registry.php
+ @${CP} -p ${HORDEDIR}/config/registry.php \
+ ${HORDEDIR}/config/registry.php.afterNag
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for FILE in ${DOCS}