diff options
author | Marc G. Fournier <scrappy@FreeBSD.org> | 2006-04-15 16:29:25 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@FreeBSD.org> | 2006-04-15 16:29:25 +0000 |
commit | 40c0be9ecac7f00b6ecb0417c486724bfc1295d4 (patch) | |
tree | fb9646133f8a9c0c0c2dcea4a35fcfada4dc46f7 /devel/horde-chora | |
parent | cb82aed396f484e94eccf0d8aca9999d1447c4e0 (diff) | |
download | ports-40c0be9ecac7f00b6ecb0417c486724bfc1295d4.tar.gz ports-40c0be9ecac7f00b6ecb0417c486724bfc1295d4.zip |
Notes
Diffstat (limited to 'devel/horde-chora')
-rw-r--r-- | devel/horde-chora/Makefile | 9 | ||||
-rw-r--r-- | devel/horde-chora/pkg-plist | 5 |
2 files changed, 3 insertions, 11 deletions
diff --git a/devel/horde-chora/Makefile b/devel/horde-chora/Makefile index 2a7614e16284..7c04659a83ab 100644 --- a/devel/horde-chora/Makefile +++ b/devel/horde-chora/Makefile @@ -70,7 +70,7 @@ LCHORADIR= ${LHORDEDIR}/chora PLIST_SUB= CHORADIR=${LCHORADIR} 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= CHORADIR=${CHORADIR} CONFDIR=${CONFDIR} CHORADIR= ${PREFIX}/${LCHORADIR} @@ -114,11 +114,7 @@ do-install: @${CP} -Rp ${WRKSRC}/${REP} ${CHORADIR} .endfor @${CP} -p ${WRKSRC}/*.php ${CHORADIR} -.for FILE in ${CONFFILE} - @if [ ! -f ${CONFDIR}/${FILE} ]; then \ - ${CP} ${CONFDIR}/${FILE}.dist ${CONFDIR}/${FILE} ; \ - fi -.endfor + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${CHORADIR} @${CHMOD} -R o-rwx ${CONFDIR} @${INSTALL_DATA} ${WRKDIR}/httpd-chora.conf ${HORDE_INC} @@ -131,6 +127,7 @@ do-install: .endif post-install: + @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL @${ECHO_MSG} @${CAT} ${PKGMESSAGE} @${ECHO_MSG} diff --git a/devel/horde-chora/pkg-plist b/devel/horde-chora/pkg-plist index b5f16266a49e..b20759e18ae8 100644 --- a/devel/horde-chora/pkg-plist +++ b/devel/horde-chora/pkg-plist @@ -12,15 +12,10 @@ %%CHORADIR%%/co.php %%CHORADIR%%/config/.htaccess %%CHORADIR%%/config/conf.xml -%%CHORADIR%%/config/cvsgraph.conf %%CHORADIR%%/config/cvsgraph.conf.dist -%%CHORADIR%%/config/longIntro.txt %%CHORADIR%%/config/longIntro.txt.dist -%%CHORADIR%%/config/mime_drivers.php %%CHORADIR%%/config/mime_drivers.php.dist -%%CHORADIR%%/config/prefs.php %%CHORADIR%%/config/prefs.php.dist -%%CHORADIR%%/config/sourceroots.php %%CHORADIR%%/config/sourceroots.php.dist %%CHORADIR%%/cvs.php %%CHORADIR%%/cvsgraph.php |