aboutsummaryrefslogtreecommitdiff
path: root/www/piwigo/files
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2008-08-27 06:33:10 +0000
committerBeech Rintoul <beech@FreeBSD.org>2008-08-27 06:33:10 +0000
commit61c6cd16c3c462bbc4c2058d4faa55c45236df90 (patch)
tree995cc3cd0a120b738ffc9b01b75f84181edf76ab /www/piwigo/files
parentd92b796b60f5c2854d0bc83fb49ce03e103aa5cc (diff)
downloadports-61c6cd16c3c462bbc4c2058d4faa55c45236df90.tar.gz
ports-61c6cd16c3c462bbc4c2058d4faa55c45236df90.zip
Notes
Diffstat (limited to 'www/piwigo/files')
-rw-r--r--www/piwigo/files/pkg-deinstall.in20
-rw-r--r--www/piwigo/files/pkg-message.in25
2 files changed, 45 insertions, 0 deletions
diff --git a/www/piwigo/files/pkg-deinstall.in b/www/piwigo/files/pkg-deinstall.in
new file mode 100644
index 000000000000..1d4932d57226
--- /dev/null
+++ b/www/piwigo/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/piwigo/files/pkg-message.in b/www/piwigo/files/pkg-message.in
new file mode 100644
index 000000000000..1721eab4f103
--- /dev/null
+++ b/www/piwigo/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.
+****************************************************************