summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2013-05-23 15:05:39 +0000
committertaca <taca@pkgsrc.org>2013-05-23 15:05:39 +0000
commite2a8638dfc25463e973fe1910bf614044be3f566 (patch)
tree0e554eaff5da5dcc9f4be07166f2b3d378ed2c3c /www
parent3789fa1941f2bd93c50995f5a24c3ba34f131a69 (diff)
downloadpkgsrc-e2a8638dfc25463e973fe1910bf614044be3f566.tar.gz
Adding contao31-example package version 3.1.0.
This is example site data for contao31 package.
Diffstat (limited to 'www')
-rw-r--r--www/contao31-example/DEINSTALL11
-rw-r--r--www/contao31-example/DESCR1
-rw-r--r--www/contao31-example/INSTALL22
-rw-r--r--www/contao31-example/Makefile10
-rw-r--r--www/contao31-example/PLIST18
5 files changed, 62 insertions, 0 deletions
diff --git a/www/contao31-example/DEINSTALL b/www/contao31-example/DEINSTALL
new file mode 100644
index 00000000000..4d97d706bf8
--- /dev/null
+++ b/www/contao31-example/DEINSTALL
@@ -0,0 +1,11 @@
+#!@SH@
+#
+# $NetBSD: DEINSTALL,v 1.1 2013/05/23 15:05: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/contao31-example/DESCR b/www/contao31-example/DESCR
new file mode 100644
index 00000000000..f4858866f1d
--- /dev/null
+++ b/www/contao31-example/DESCR
@@ -0,0 +1 @@
+This is example site data of Contao Open Source CMS 3.1.
diff --git a/www/contao31-example/INSTALL b/www/contao31-example/INSTALL
new file mode 100644
index 00000000000..bdf327e9665
--- /dev/null
+++ b/www/contao31-example/INSTALL
@@ -0,0 +1,22 @@
+#!@SH@
+#
+# $NetBSD: INSTALL,v 1.1 2013/05/23 15:05: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/contao31-example/Makefile b/www/contao31-example/Makefile
new file mode 100644
index 00000000000..59ef54aff10
--- /dev/null
+++ b/www/contao31-example/Makefile
@@ -0,0 +1,10 @@
+# $NetBSD: Makefile,v 1.1 2013/05/23 15:05:39 taca Exp $
+#
+
+LICENSE= gnu-lgpl-v3
+
+CT_VERS= 31
+
+.include "../../www/contao/Makefile.example"
+.include "../../lang/php/phpversion.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/contao31-example/PLIST b/www/contao31-example/PLIST
new file mode 100644
index 00000000000..37270e6e72e
--- /dev/null
+++ b/www/contao31-example/PLIST
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST,v 1.1 2013/05/23 15:05: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