pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/contao42 Fix installation of one config file.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dc107920efb4
branches:  trunk
changeset: 355265:dc107920efb4
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Nov 27 15:41:10 2016 +0000

description:
Fix installation of one config file.

Bump PKGREVISION.

diffstat:

 www/contao42/Makefile |  7 +++++--
 www/contao42/PLIST    |  4 ++--
 2 files changed, 7 insertions(+), 4 deletions(-)

diffs (50 lines):

diff -r a67b11cd352f -r dc107920efb4 www/contao42/Makefile
--- a/www/contao42/Makefile     Sun Nov 27 14:56:06 2016 +0000
+++ b/www/contao42/Makefile     Sun Nov 27 15:41:10 2016 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.6 2016/10/27 15:14:17 taca Exp $
+# $NetBSD: Makefile,v 1.7 2016/11/27 15:41:10 taca Exp $
 #
 
 DISTNAME=      contao-${CT_PKGVER}
 PKGNAME=       ${PHP_PKG_PREFIX}-contao${CT_VER}-${CT_VERSION}
+PKGREVISION=   1
 CATEGORIES=    www
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=contao/}
 GITHUB_PROJECT=        standard-edition
@@ -30,7 +31,7 @@
 
 EG_CONFIG=     app/config/config.yml app/config/config_dev.yml \
                app/config/config_prod.yml app/config/config_test.yml \
-               app/config/parameters.yml.dist app/config/routing.yml \
+               app/config/parameters.yml app/config/routing.yml \
                app/config/routing_dev.yml app/config/security.yml
 EG_DATA=       app/config
 
@@ -78,6 +79,8 @@
 PKG_USERS_VARS+=       APACHE_USER
 
 pre-configure:
+       ${MV} ${WRKSRC}/app/config/parameters.yml.dist \
+               ${WRKSRC}/app/config/parameters.yml
        ${CP} ${FILESDIR}/contao.conf ${WRKDIR}
 
 do-install:
diff -r a67b11cd352f -r dc107920efb4 www/contao42/PLIST
--- a/www/contao42/PLIST        Sun Nov 27 14:56:06 2016 +0000
+++ b/www/contao42/PLIST        Sun Nov 27 15:41:10 2016 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2016/10/27 15:14:17 taca Exp $
+@comment $NetBSD: PLIST,v 1.6 2016/11/27 15:41:10 taca Exp $
 ${CT_WEBDIR}/CHANGELOG.md
 ${CT_WEBDIR}/README.md
 ${CT_WEBDIR}/app/AppCache.php
@@ -7862,7 +7862,7 @@
 ${CT_EGDIR}/app/config/config_dev.yml
 ${CT_EGDIR}/app/config/config_prod.yml
 ${CT_EGDIR}/app/config/config_test.yml
-${CT_EGDIR}/app/config/parameters.yml.dist
+${CT_EGDIR}/app/config/parameters.yml
 ${CT_EGDIR}/app/config/routing.yml
 ${CT_EGDIR}/app/config/routing_dev.yml
 ${CT_EGDIR}/app/config/security.yml



Home | Main Index | Thread Index | Old Index