aboutsummaryrefslogtreecommitdiffstats
path: root/www/phpwebgallery/files
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2008-08-27 14:33:10 +0800
committerbeech <beech@FreeBSD.org>2008-08-27 14:33:10 +0800
commitd24ecf32ca6aff6402f6eb779fb5aa946ad15564 (patch)
tree24e32e35f473741af15a11a92f2ff7f37d8c92d7 /www/phpwebgallery/files
parentcb104d750d57a3ea9d2ca265db755f1b5523d7ef (diff)
downloadfreebsd-ports-gnome-d24ecf32ca6aff6402f6eb779fb5aa946ad15564.tar.gz
freebsd-ports-gnome-d24ecf32ca6aff6402f6eb779fb5aa946ad15564.tar.zst
freebsd-ports-gnome-d24ecf32ca6aff6402f6eb779fb5aa946ad15564.zip
PhpWebGallery is a free and open source software used
to present photo collections on your web site. WWW: http://www.phpwebgallery.net/ PR: ports/126756 Submitted by: Goran Lowkrantz <glz at hidden-powers.com>
Diffstat (limited to 'www/phpwebgallery/files')
-rw-r--r--www/phpwebgallery/files/pkg-deinstall.in20
-rw-r--r--www/phpwebgallery/files/pkg-message.in25
2 files changed, 45 insertions, 0 deletions
diff --git a/www/phpwebgallery/files/pkg-deinstall.in b/www/phpwebgallery/files/pkg-deinstall.in
new file mode 100644
index 000000000000..1d4932d57226
--- /dev/null
+++ b/www/phpwebgallery/files/pkg-deinstall.in
@@ -0,0 +1,20 @@
+#! /bin/sh
+
+PATH=/bin:/usr/sbin:/usr/bin:/usr/sbin
+
+WEBAPP_DIR="%%WWWDIR%%"
+ECHO_CMD="echo"
+
+post-deinstall() {
+ ${ECHO_CMD} "WARNING: If you intend *NOT* use this package anymore,"
+ ${ECHO_CMD} " you may remove the following directory manually:"
+ ${ECHO_CMD} " ${WEBAPP_DIR}"
+ ${ECHO_CMD} " and delete the application database."
+ ${ECHO_CMD}
+}
+
+case $2 in
+ POST-DEINSTALL)
+ post-deinstall
+ ;;
+esac
diff --git a/www/phpwebgallery/files/pkg-message.in b/www/phpwebgallery/files/pkg-message.in
new file mode 100644
index 000000000000..1721eab4f103
--- /dev/null
+++ b/www/phpwebgallery/files/pkg-message.in
@@ -0,0 +1,25 @@
+****************************************************************
+The PHPWebGallery Photo Gallery has been installed in the directory
+%%WWWDIR%%,
+the documentation at
+%%DOCSDIR%%
+and the content of the tools directory at
+%%EXAMPLESDIR%%.
+
+If this is a new installation, don't forget to verify that your
+PHP configuration is OK and that you have an mySQL database.
+
+You must add appropriate configuration directives to your
+apache configuration file (%%PREFIX%%/etc/apache/httpd.conf).
+A typical configuration would be:
+
+ Alias /gallery/ "%%WWWDIR%%/"
+
+ <Directory "%%WWWDIR%%">
+ AllowOverride None
+ Order allow,deny
+ Allow from all
+ </Directory>
+
+For installation and upgrade information, check the readme file.
+****************************************************************