summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca>2013-11-21 16:53:39 +0000
committertaca <taca>2013-11-21 16:53:39 +0000
commit8d26898f0a58cdd2f4a4b74a34b97aebd1fff9d9 (patch)
treef28de52b07884649206960fe1fc19663391eb54d
parent7c811c77858084a442ab6ff18b4334d8931a8727 (diff)
downloadpkgsrc-8d26898f0a58cdd2f4a4b74a34b97aebd1fff9d9.tar.gz
Add contao32-example package version 3.2.0, demo site data for contao32.
-rw-r--r--www/contao32-example/DEINSTALL11
-rw-r--r--www/contao32-example/DESCR1
-rw-r--r--www/contao32-example/INSTALL22
-rw-r--r--www/contao32-example/Makefile10
-rw-r--r--www/contao32-example/PLIST18
5 files changed, 62 insertions, 0 deletions
diff --git a/www/contao32-example/DEINSTALL b/www/contao32-example/DEINSTALL
new file mode 100644
index 00000000000..0b62395e994
--- /dev/null
+++ b/www/contao32-example/DEINSTALL
@@ -0,0 +1,11 @@
+#!@SH@
+#
+# $NetBSD: DEINSTALL,v 1.1 2013/11/21 16:53:39 taca Exp $
+
+CT_WEBDIR="@PREFIX@/@CT_WEBDIR@"
+CT_DATA="files/music_academy"
+
+case "${STAGE}" in
+DEINSTALL)
+ cd ${CT_WEBDIR} && ${RM} -rf ${CT_DATA}
+esac
diff --git a/www/contao32-example/DESCR b/www/contao32-example/DESCR
new file mode 100644
index 00000000000..810cdb5f10c
--- /dev/null
+++ b/www/contao32-example/DESCR
@@ -0,0 +1 @@
+This is example site data of Contao Open Source CMS 3.2.
diff --git a/www/contao32-example/INSTALL b/www/contao32-example/INSTALL
new file mode 100644
index 00000000000..25e3fb35afe
--- /dev/null
+++ b/www/contao32-example/INSTALL
@@ -0,0 +1,22 @@
+#!@SH@
+#
+# $NetBSD: INSTALL,v 1.1 2013/11/21 16:53:39 taca Exp $
+
+PAX="@PAX@"
+CT_EGDIR="@PREFIX@/@CT_EGDIR@"
+CT_WEBDIR="@PREFIX@/@CT_WEBDIR@"
+WWWGRP="@WWWGRP@"
+WWWOWN="@WWWOWN@"
+CT_DATA="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} ${CT_TEMPLATE}; do
+ ${CHGRP} -R ${WWWGRP} ${CT_WEBDIR}/$f
+ ${CHOWN} -R ${WWWOWN} ${CT_WEBDIR}/$f
+ done
+ ;;
+esac
diff --git a/www/contao32-example/Makefile b/www/contao32-example/Makefile
new file mode 100644
index 00000000000..ea1310eb634
--- /dev/null
+++ b/www/contao32-example/Makefile
@@ -0,0 +1,10 @@
+# $NetBSD: Makefile,v 1.1 2013/11/21 16:53:39 taca Exp $
+#
+
+LICENSE= gnu-lgpl-v3
+
+CT_VERS= 32
+
+.include "../../www/contao/Makefile.example"
+.include "../../lang/php/phpversion.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/contao32-example/PLIST b/www/contao32-example/PLIST
new file mode 100644
index 00000000000..1119bc9312f
--- /dev/null
+++ b/www/contao32-example/PLIST
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST,v 1.1 2013/11/21 16:53:39 taca Exp $
+${CT_EGDIR}/files/music_academy/admin.gif
+${CT_EGDIR}/files/music_academy/background.gif
+${CT_EGDIR}/files/music_academy/campus/campus_building.jpg
+${CT_EGDIR}/files/music_academy/campus/campus_hall.jpg
+${CT_EGDIR}/files/music_academy/campus/campus_library.jpg
+${CT_EGDIR}/files/music_academy/campus/campus_overview.jpg
+${CT_EGDIR}/files/music_academy/frontendmodules.gif
+${CT_EGDIR}/files/music_academy/image.png
+${CT_EGDIR}/files/music_academy/james-wilson.jpg
+${CT_EGDIR}/files/music_academy/layout.gif
+${CT_EGDIR}/files/music_academy/modules.gif
+${CT_EGDIR}/files/music_academy/news.gif
+${CT_EGDIR}/files/music_academy/pagemounts.gif
+${CT_EGDIR}/files/music_academy/permissions.gif
+${CT_EGDIR}/files/music_academy/protect.gif
+${CT_EGDIR}/files/music_academy/screenshot.jpg
+${CT_WEBDIR}/templates/music_academy.sql