diff options
author | taca <taca@pkgsrc.org> | 2010-07-18 14:46:44 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2010-07-18 14:46:44 +0000 |
commit | 9a5703efda4f722ef3b68ef87693a5af64ab0d35 (patch) | |
tree | 686ec1be6d4596fcb39725ceee59cc51550b8a96 /www | |
parent | bea9a70465e72c9f808bec35c8b80e7c7e80ec6a (diff) | |
download | pkgsrc-9a5703efda4f722ef3b68ef87693a5af64ab0d35.tar.gz |
* Install sample .htaccess file as configuration file. It was silently
discarded before.
* Don't handle templates/.htaccess as configuration file.
Bump PKGREVISION.
Diffstat (limited to 'www')
-rw-r--r-- | www/contao29/Makefile | 16 | ||||
-rw-r--r-- | www/contao29/PLIST | 4 |
2 files changed, 10 insertions, 10 deletions
diff --git a/www/contao29/Makefile b/www/contao29/Makefile index 5672fa78e0c..028580dd6d0 100644 --- a/www/contao29/Makefile +++ b/www/contao29/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.1.1.1 2010/07/05 14:45:21 taca Exp $ +# $NetBSD: Makefile,v 1.2 2010/07/18 14:46:44 taca Exp $ # DISTNAME= contao-${CT_VERSION} PKGNAME= contao${CT_VER}-${CT_PKGVER} +PKGREVISION= 1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=typolight/} @@ -37,10 +38,8 @@ CONF_FILES_PERMS+= ${CT_EGDIR}/system/config/localconfig.php \ ${CT_WEBDIR}/system/config/localconfig.php \ ${APACHE_USER} ${APACHE_GROUP} 0600 -CONF_FILES+= ${CT_EGDIR}/contao.conf \ - ${PKG_SYSCONFDIR}/contao.conf \ - ${CT_EGDIR}/templates-htaccess \ - ${CT_WEBDIR}/templates/.htaccess +CONF_FILES+= ${CT_EGDIR}/contao.conf ${PKG_SYSCONFDIR}/contao.conf \ + ${CT_EGDIR}/htaccess.default ${CT_WEBDIR}/.htaccess .for f in ${EG_FILES} CONF_FILES+= ${CT_EGDIR}/${f} ${CT_WEBDIR}/${f} @@ -94,7 +93,6 @@ PKG_USERS_VARS+= APACHE_USER .include "../../www/contao/options.mk" pre-configure: - ${MV} ${WRKSRC}/templates/.htaccess ${WRKDIR}/templates-htaccess ${CP} ${FILESDIR}/contao.conf ${WRKDIR} pre-install: @@ -109,11 +107,13 @@ do-install: ${DESTDIR}${PREFIX}/${CT_WEBDIR}/system; \ ${INSTALL_DATA} config/.htaccess \ ${DESTDIR}${PREFIX}/${CT_WEBDIR}/system/config + ${INSTALL_DATA} ${WRKSRC}/templates/.htaccess \ + ${DESTDIR}${PREFIX}/${CT_WEBDIR}/templates cd ${WRKSRC}; pax -rw ${EG_DATA} ${DESTDIR}${PREFIX}/${CT_EGDIR} rm -f ${DESTDIR}${PREFIX}/${CT_EGDIR}/system/config/.htaccess + ${INSTALL_DATA} ${WRKSRC}/.htaccess.default \ + ${DESTDIR}${PREFIX}/${CT_EGDIR}/htaccess.default ${INSTALL_DATA} ${WRKDIR}/contao.conf ${DESTDIR}${PREFIX}/${CT_EGDIR} - ${INSTALL_DATA} ${WRKDIR}/templates-htaccess \ - ${DESTDIR}${PREFIX}/${CT_EGDIR} ${INSTALL_DATA} ${FILESDIR}/README \ ${DESTDIR}${PREFIX}/${CT_DOCDIR} diff --git a/www/contao29/PLIST b/www/contao29/PLIST index 18e50ac185c..94eefb1e196 100644 --- a/www/contao29/PLIST +++ b/www/contao29/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2010/07/05 14:45:22 taca Exp $ +@comment $NetBSD: PLIST,v 1.2 2010/07/18 14:46:44 taca Exp $ ${CT_WEBDIR}/CHANGELOG.txt ${CT_WEBDIR}/GPL.txt ${CT_WEBDIR}/INSTALL.txt @@ -1981,6 +1981,7 @@ ${CT_WEBDIR}/typolight/main.php ${CT_DOCDIR}/README ${CT_EGDIR}/basic.css ${CT_EGDIR}/contao.conf +${CT_EGDIR}/htaccess.default ${CT_EGDIR}/print.css ${CT_EGDIR}/robots.txt ${CT_EGDIR}/system/config/config.php @@ -1997,7 +1998,6 @@ ${CT_EGDIR}/system/config/timezones.php ${CT_EGDIR}/system/config/tinyFlash.php ${CT_EGDIR}/system/config/tinyMCE.php ${CT_EGDIR}/system/config/tinyNews.php -${CT_EGDIR}/templates-htaccess ${CT_EGDIR}/tl_files/tiny_templates/index.html ${CT_EGDIR}/tl_files/tinymce.css ${CT_EGDIR}/contao.conf |