aboutsummaryrefslogtreecommitdiff
path: root/deskutils/horde4-nag/Makefile
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@FreeBSD.org>2006-04-15 16:11:25 +0000
committerMarc G. Fournier <scrappy@FreeBSD.org>2006-04-15 16:11:25 +0000
commit5a18218c206df07b4f892a79b071cc20062c8e02 (patch)
treea18a0d6b7d6c51a0bbd9e7ad983e7a925f913e63 /deskutils/horde4-nag/Makefile
parentbf25f044454eb7856fbe55acbe4439a4e0928d68 (diff)
downloadports-5a18218c206df07b4f892a79b071cc20062c8e02.tar.gz
ports-5a18218c206df07b4f892a79b071cc20062c8e02.zip
Notes
Diffstat (limited to 'deskutils/horde4-nag/Makefile')
-rw-r--r--deskutils/horde4-nag/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/deskutils/horde4-nag/Makefile b/deskutils/horde4-nag/Makefile
index f3ccc17bfe69..cb9a82b04abc 100644
--- a/deskutils/horde4-nag/Makefile
+++ b/deskutils/horde4-nag/Makefile
@@ -31,7 +31,7 @@ USE_GETTEXT= yes
PLIST_SUB= NAGDIR=${LNAGDIR} HORDE_INC=${HORDE_INC:S|^${LOCALBASE}/||}
PKGMESSAGE= ${WRKDIR}/pkg-message
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
-SUB_FILES= pkg-message pkg-deinstall
+SUB_FILES= pkg-message pkg-install pkg-deinstall
SUB_LIST= NAGDIR=${NAGDIR}
REINPLACE_ARGS= -i ""
@@ -67,11 +67,7 @@ do-install:
@${CP} -Rp ${WRKSRC}/${REP} ${NAGDIR}
.endfor
@${CP} -p ${WRKSRC}/*.php ${NAGDIR}
-.for FILE in ${CONFFILE}
- @if [ ! -f ${CONFDIR}/${FILE} ]; then \
- ${CP} ${CONFDIR}/${FILE}.dist ${CONFDIR}/${FILE} ; \
- fi
-.endfor
+
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${NAGDIR}
@${CHMOD} -R o-rwx ${CONFDIR}
@${INSTALL_DATA} ${WRKDIR}/httpd-nag.conf ${HORDE_INC}
@@ -84,6 +80,7 @@ do-install:
.endif
post-install:
+ @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}