aboutsummaryrefslogtreecommitdiffstats
path: root/www/gallery/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-10-15 19:53:18 +0800
committerijliao <ijliao@FreeBSD.org>2001-10-15 19:53:18 +0800
commit67bc2bae71463942e6eda11b49fdaa7153fc6149 (patch)
tree66f3751d4f7284d47e1ff908b98c50480d2a04f7 /www/gallery/Makefile
parent250d261eff633508a236f47e75c4e7c889aaa2de (diff)
downloadfreebsd-ports-gnome-67bc2bae71463942e6eda11b49fdaa7153fc6149.tar.gz
freebsd-ports-gnome-67bc2bae71463942e6eda11b49fdaa7153fc6149.tar.zst
freebsd-ports-gnome-67bc2bae71463942e6eda11b49fdaa7153fc6149.zip
add galery
Gallery is a slick web based photo album written using PHP PR: 30476 Submitted by: Jamie Hermans <jamie@otidan.hermans.ca>
Diffstat (limited to 'www/gallery/Makefile')
-rw-r--r--www/gallery/Makefile52
1 files changed, 52 insertions, 0 deletions
diff --git a/www/gallery/Makefile b/www/gallery/Makefile
new file mode 100644
index 000000000000..c95d1a367664
--- /dev/null
+++ b/www/gallery/Makefile
@@ -0,0 +1,52 @@
+# New ports collection makefile for: gallery
+# Date created: 09 Sep 2001
+# Whom: Jamie Hermans <jamie@hermans.ca>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gallery
+PORTVERSION= 1.2
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= jamie@hermans.ca
+
+RUN_DEPENDS= ${LOCALBASE}/share/netpbm:${PORTSDIR}/graphics/netpbm
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+NO_BUILD= yes
+
+post-extract:
+ cd ${WRKDIR}; \
+ ${FETCH_CMD} http://www.sentex.net/~mwandel/jhead/jhead
+
+do-install:
+ ${MKDIR} -v ${PREFIX}/www/data
+ cd ${WRKDIR}; \
+ ${INSTALL_PROGRAM} jhead ${PREFIX}/bin
+ cd ${WRKDIR}; \
+ ${CP} -R gallery ${PREFIX}/www/data
+
+post-install:
+ @${ECHO} ""
+ @${ECHO} "*****************************************************************"
+ @${ECHO} ""
+ @${ECHO} " Please consider adding the following 3 lines to your httpd.conf"
+ @${ECHO} ""
+ @${ECHO} " <Directory /usr/local/www/data/gallery>"
+ @${ECHO} " AllowOverride Options FileInfo"
+ @${ECHO} " </Directory>"
+ @${ECHO} ""
+ @${ECHO} " Then restart apache: 'apachectl restart'"
+ @${ECHO} ""
+ @${ECHO} "*****************************************************************"
+ @${ECHO} ""
+ @${ECHO} " Please visit 'http://{host.domain}/gallery/' in a"
+ @${ECHO} " web-browser and follow the configuration instructions."
+ @${ECHO} ""
+ @${ECHO} "*****************************************************************"
+ @${ECHO} ""
+
+.include <bsd.port.mk>