diff options
Diffstat (limited to 'deskutils/kronolith/Makefile')
-rw-r--r-- | deskutils/kronolith/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/deskutils/kronolith/Makefile b/deskutils/kronolith/Makefile index d88d410b2b7d..57ca84077c3e 100644 --- a/deskutils/kronolith/Makefile +++ b/deskutils/kronolith/Makefile @@ -40,7 +40,7 @@ LKRONOLITHDIR?= ${LHORDEDIR}/kronolith PKGMESSAGE= ${WRKDIR}/pkg-message PKGDEINSTALL= ${WRKDIR}/pkg-deinstall -SUB_FILES= pkg-message pkg-deinstall +SUB_FILES= pkg-message pkg-install pkg-deinstall SUB_LIST= KRONOLITHDIR=${KRONOLITHDIR} PLIST_SUB= KRONOLITHDIR=${LKRONOLITHDIR} HORDE_INC=${HORDE_INC:S|^${LOCALBASE}/||} @@ -68,11 +68,7 @@ do-install: @${CP} -Rp ${WRKSRC}/${REP} ${KRONOLITHDIR} .endfor @${CP} -p ${WRKSRC}/*.php ${KRONOLITHDIR} -.for FILE in ${CONFFILE} - @if [ ! -f ${CONFDIR}/${FILE} ]; then \ - ${CP} ${CONFDIR}/${FILE}.dist ${CONFDIR}/${FILE} ; \ - fi -.endfor + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${KRONOLITHDIR} @${CHMOD} -R o-rwx ${CONFDIR} @${INSTALL_DATA} ${WRKDIR}/httpd-kronolith.conf ${HORDE_INC} @@ -85,6 +81,7 @@ do-install: .endif post-install: + @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL @${ECHO_MSG} @${CAT} ${PKGMESSAGE} @${ECHO_MSG} |