summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2011-08-12 12:53:20 +0000
committertaca <taca@pkgsrc.org>2011-08-12 12:53:20 +0000
commit45e1b1cfa348b51288b6be3efa487105ade7343c (patch)
tree4373edfcc71ca62c0738c64f7f1ea88643c0208f
parent868546e095d2ef15d2897b4dafda5fa7ed68f06e (diff)
downloadpkgsrc-45e1b1cfa348b51288b6be3efa487105ade7343c.tar.gz
Switch to use new common Makefiles and update of INSTALL script.
Bump PKGREVISION.
-rw-r--r--www/contao29-example/INSTALL5
-rw-r--r--www/contao29-example/Makefile8
2 files changed, 9 insertions, 4 deletions
diff --git a/www/contao29-example/INSTALL b/www/contao29-example/INSTALL
index 7c26ee64773..ed31a465aee 100644
--- a/www/contao29-example/INSTALL
+++ b/www/contao29-example/INSTALL
@@ -1,6 +1,6 @@
#!@SH@
#
-# $NetBSD: INSTALL,v 1.1.1.1 2010/07/05 14:46:25 taca Exp $
+# $NetBSD: INSTALL,v 1.2 2011/08/12 12:53:20 taca Exp $
PAX="@PAX@"
CT_EGDIR="@PREFIX@/@CT_EGDIR@"
@@ -8,12 +8,13 @@ CT_WEBDIR="@PREFIX@/@CT_WEBDIR@"
WWWGRP="@WWWGRP@"
WWWOWN="@WWWOWN@"
CT_DATA="music_academy.css tl_files/music_academy"
+CT_TEMPLATE="templates/music_academy.sql"
case "${STAGE}" in
POST-INSTALL)
cd ${CT_EGDIR} &&
@PAX@ -rw ${CT_DATA} ${CT_WEBDIR}
- for f in ${CT_DATA}; do
+ for f in ${CT_DATA} ${CT_TEMPLATE}; do
${CHGRP} -R ${WWWGRP} ${CT_WEBDIR}/$f
${CHOWN} -R ${WWWOWN} ${CT_WEBDIR}/$f
done
diff --git a/www/contao29-example/Makefile b/www/contao29-example/Makefile
index 0669fb43ad7..a42e4ec6cd6 100644
--- a/www/contao29-example/Makefile
+++ b/www/contao29-example/Makefile
@@ -1,9 +1,13 @@
-# $NetBSD: Makefile,v 1.3 2011/05/20 08:48:03 taca Exp $
+# $NetBSD: Makefile,v 1.4 2011/08/12 12:53:20 taca Exp $
#
+PKGREVISION= 1
+
LICENSE= gnu-lgpl-v3
-.include "../../www/contao29/Makefile.version"
+CT_VERS= 29
+WWW_EG_FILES= music_academy.css tl_files/music_academy
+
.include "../../www/contao/Makefile.example"
.include "../../www/contao/Makefile.common"
.include "../../lang/php/phpversion.mk"