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 /ftp | |
parent | cb82aed396f484e94eccf0d8aca9999d1447c4e0 (diff) | |
download | ports-40c0be9ecac7f00b6ecb0417c486724bfc1295d4.tar.gz ports-40c0be9ecac7f00b6ecb0417c486724bfc1295d4.zip |
Notes
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/gollem/Makefile | 12 | ||||
-rw-r--r-- | ftp/gollem/pkg-plist | 6 | ||||
-rw-r--r-- | ftp/horde-gollem/Makefile | 12 | ||||
-rw-r--r-- | ftp/horde-gollem/pkg-plist | 6 |
4 files changed, 10 insertions, 26 deletions
diff --git a/ftp/gollem/Makefile b/ftp/gollem/Makefile index c6378f7ca1dc..37334847cb17 100644 --- a/ftp/gollem/Makefile +++ b/ftp/gollem/Makefile @@ -7,6 +7,7 @@ PORTNAME= gollem PORTVERSION= 1.0.2 +PORTREVISION= 1 CATEGORIES= ftp www MASTER_SITES= ftp://ftp.horde.org/pub/gollem/ \ ftp://ftp.planetmirror.com/pub/horde/gollem/ \ @@ -18,7 +19,7 @@ MASTER_SITES= ftp://ftp.horde.org/pub/gollem/ \ http://ftp.horde.org/pub/gollem/ DISTNAME= ${PORTNAME}-h3-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= shaun@inerd.com COMMENT= Gollem is the Horde web-based File Manager RUN_DEPENDS= ${LOCALBASE}/${LHORDEDIR}/rpc.php:${PORTSDIR}/www/horde @@ -30,7 +31,7 @@ USE_APACHE= 1.3+ # needed to test APACHE_VERSION PLIST_SUB= GOLLEMDIR=${LGOLLEMDIR} 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= GOLLEMDIR=${GOLLEMDIR} DOCS= README docs/CHANGES docs/CREDITS docs/INSTALL \ @@ -61,11 +62,7 @@ do-install: @${MKDIR} ${GOLLEMDIR} @${CP} -Rp ${SUB_DIRS:S|^|${WRKSRC}/|} ${GOLLEMDIR} @${CP} -p ${WRKSRC}/*.php ${GOLLEMDIR} -.for FILE in ${CONFFILE} - @if [ ! -f ${CONFDIR}/${FILE} ]; then \ - ${CP} ${CONFDIR}/${FILE}.dist ${CONFDIR}/${FILE} ; \ - fi -.endfor + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${GOLLEMDIR} @${CHMOD} -R o-rwx ${CONFDIR} @${INSTALL_DATA} ${WRKDIR}/httpd-gollem.conf ${HORDE_INC} @@ -76,6 +73,7 @@ do-install: .endif post-install: + @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL @${ECHO_MSG} @${CAT} ${PKGMESSAGE} @${ECHO_MSG} diff --git a/ftp/gollem/pkg-plist b/ftp/gollem/pkg-plist index 1451056a40c8..d8b0b444d027 100644 --- a/ftp/gollem/pkg-plist +++ b/ftp/gollem/pkg-plist @@ -1,17 +1,11 @@ %%HORDE_INC%%/httpd-gollem.conf %%GOLLEMDIR%%/clipboard.php -%%GOLLEMDIR%%/config/backends.php %%GOLLEMDIR%%/config/backends.php.dist %%GOLLEMDIR%%/config/conf.xml -%%GOLLEMDIR%%/config/credentials.php %%GOLLEMDIR%%/config/credentials.php.dist -%%GOLLEMDIR%%/config/menu.php %%GOLLEMDIR%%/config/menu.php.dist -%%GOLLEMDIR%%/config/mime_drivers.php %%GOLLEMDIR%%/config/mime_drivers.php.dist -%%GOLLEMDIR%%/config/motd.php %%GOLLEMDIR%%/config/motd.php.dist -%%GOLLEMDIR%%/config/prefs.php %%GOLLEMDIR%%/config/prefs.php.dist %%GOLLEMDIR%%/index.php %%GOLLEMDIR%%/js/stripe.js diff --git a/ftp/horde-gollem/Makefile b/ftp/horde-gollem/Makefile index c6378f7ca1dc..37334847cb17 100644 --- a/ftp/horde-gollem/Makefile +++ b/ftp/horde-gollem/Makefile @@ -7,6 +7,7 @@ PORTNAME= gollem PORTVERSION= 1.0.2 +PORTREVISION= 1 CATEGORIES= ftp www MASTER_SITES= ftp://ftp.horde.org/pub/gollem/ \ ftp://ftp.planetmirror.com/pub/horde/gollem/ \ @@ -18,7 +19,7 @@ MASTER_SITES= ftp://ftp.horde.org/pub/gollem/ \ http://ftp.horde.org/pub/gollem/ DISTNAME= ${PORTNAME}-h3-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= shaun@inerd.com COMMENT= Gollem is the Horde web-based File Manager RUN_DEPENDS= ${LOCALBASE}/${LHORDEDIR}/rpc.php:${PORTSDIR}/www/horde @@ -30,7 +31,7 @@ USE_APACHE= 1.3+ # needed to test APACHE_VERSION PLIST_SUB= GOLLEMDIR=${LGOLLEMDIR} 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= GOLLEMDIR=${GOLLEMDIR} DOCS= README docs/CHANGES docs/CREDITS docs/INSTALL \ @@ -61,11 +62,7 @@ do-install: @${MKDIR} ${GOLLEMDIR} @${CP} -Rp ${SUB_DIRS:S|^|${WRKSRC}/|} ${GOLLEMDIR} @${CP} -p ${WRKSRC}/*.php ${GOLLEMDIR} -.for FILE in ${CONFFILE} - @if [ ! -f ${CONFDIR}/${FILE} ]; then \ - ${CP} ${CONFDIR}/${FILE}.dist ${CONFDIR}/${FILE} ; \ - fi -.endfor + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${GOLLEMDIR} @${CHMOD} -R o-rwx ${CONFDIR} @${INSTALL_DATA} ${WRKDIR}/httpd-gollem.conf ${HORDE_INC} @@ -76,6 +73,7 @@ do-install: .endif post-install: + @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL @${ECHO_MSG} @${CAT} ${PKGMESSAGE} @${ECHO_MSG} diff --git a/ftp/horde-gollem/pkg-plist b/ftp/horde-gollem/pkg-plist index 1451056a40c8..d8b0b444d027 100644 --- a/ftp/horde-gollem/pkg-plist +++ b/ftp/horde-gollem/pkg-plist @@ -1,17 +1,11 @@ %%HORDE_INC%%/httpd-gollem.conf %%GOLLEMDIR%%/clipboard.php -%%GOLLEMDIR%%/config/backends.php %%GOLLEMDIR%%/config/backends.php.dist %%GOLLEMDIR%%/config/conf.xml -%%GOLLEMDIR%%/config/credentials.php %%GOLLEMDIR%%/config/credentials.php.dist -%%GOLLEMDIR%%/config/menu.php %%GOLLEMDIR%%/config/menu.php.dist -%%GOLLEMDIR%%/config/mime_drivers.php %%GOLLEMDIR%%/config/mime_drivers.php.dist -%%GOLLEMDIR%%/config/motd.php %%GOLLEMDIR%%/config/motd.php.dist -%%GOLLEMDIR%%/config/prefs.php %%GOLLEMDIR%%/config/prefs.php.dist %%GOLLEMDIR%%/index.php %%GOLLEMDIR%%/js/stripe.js |