diff options
author | scrappy <scrappy@FreeBSD.org> | 2006-04-16 00:29:25 +0800 |
---|---|---|
committer | scrappy <scrappy@FreeBSD.org> | 2006-04-16 00:29:25 +0800 |
commit | 5d52b9a45cbf1cc5c7d07335fafb66929c6e6d20 (patch) | |
tree | 5d7dc1df3f58d54ca285e535404de2237aab908c /www/horde-passwd | |
parent | 0bf7f3b33d0856b0230169fbe63d6bdb650ffbf6 (diff) | |
download | freebsd-ports-gnome-5d52b9a45cbf1cc5c7d07335fafb66929c6e6d20.tar.gz freebsd-ports-gnome-5d52b9a45cbf1cc5c7d07335fafb66929c6e6d20.tar.zst freebsd-ports-gnome-5d52b9a45cbf1cc5c7d07335fafb66929c6e6d20.zip |
After a recent discussion on freebsd-ports, I have modified the Horde
ports, so that they now do not overwrite existing configuration files.
Rather than backing up the old ones and allowing the user to merge the
files by hand, config files are left untouched.
PR:
Submitted by: Shaun Amott <shaun@inerd.com>
Diffstat (limited to 'www/horde-passwd')
-rw-r--r-- | www/horde-passwd/Makefile | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/www/horde-passwd/Makefile b/www/horde-passwd/Makefile index 610720ca8fef..aa38ea828ffb 100644 --- a/www/horde-passwd/Makefile +++ b/www/horde-passwd/Makefile @@ -20,7 +20,7 @@ MASTER_SITES= ftp://ftp.horde.org/pub/passwd/ \ DISTNAME= passwd-h3-${PORTVERSION} DIST_SUBDIR= horde -MAINTAINER= ports@FreeBSD.org +MAINTAINER= shaun@inerd.com COMMENT= A password changing module for Horde RUN_DEPENDS= ${LOCALBASE}/${LHORDEDIR}/rpc.php:${PORTSDIR}/www/horde @@ -32,7 +32,7 @@ PLIST_SUB= LPWDDIR=${LPWDDIR} PWDDIR=${PWDDIR} \ 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= PWDDIR=${PWDDIR} CONFDIR=${CONFDIR} HORDEDIR=${HORDEDIR} DOCS= LICENSE README docs/CHANGES docs/CREDITS docs/INSTALL \ @@ -65,11 +65,7 @@ do-install: @${CP} -Rp ${WRKSRC}/${REP} ${PWDDIR} .endfor @${CP} -p ${WRKSRC}/*.php ${PWDDIR} -.for FILE in ${CONFFILE} - @if [ ! -f ${CONFDIR}/${FILE} ]; then \ - ${CP} ${CONFDIR}/${FILE}.dist ${CONFDIR}/${FILE} ; \ - fi -.endfor + @${CHOWN} -R www:www ${PWDDIR} @${CHMOD} -R o-rwx ${CONFDIR} @${INSTALL_DATA} ${WRKDIR}/httpd-pwd.conf ${HORDE_INC} @@ -82,6 +78,7 @@ do-install: .endif post-install: + @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL @${ECHO_MSG} @${CAT} ${PKGMESSAGE} @${ECHO_MSG} |