summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-10-15 11:53:18 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-10-15 11:53:18 +0000
commit6bc217d39843e359e01ed03499f2c4277cfc860d (patch)
treed06f7b72f430f3812a5176569a40aed09fa0d67d
parentadd ricochet (diff)
add galery
Gallery is a slick web based photo album written using PHP PR: 30476 Submitted by: Jamie Hermans <jamie@otidan.hermans.ca>
Notes
Notes: svn path=/head/; revision=48785
Diffstat (limited to '')
-rw-r--r--www/Makefile1
-rw-r--r--www/gallery/Makefile52
-rw-r--r--www/gallery/distinfo1
-rw-r--r--www/gallery/pkg-comment1
-rw-r--r--www/gallery/pkg-descr12
-rw-r--r--www/gallery/pkg-message16
-rw-r--r--www/gallery/pkg-plist143
-rw-r--r--www/gallery2/Makefile52
-rw-r--r--www/gallery2/distinfo1
-rw-r--r--www/gallery2/pkg-comment1
-rw-r--r--www/gallery2/pkg-descr12
-rw-r--r--www/gallery2/pkg-message16
-rw-r--r--www/gallery2/pkg-plist143
-rw-r--r--www/gallery3/Makefile52
-rw-r--r--www/gallery3/distinfo1
-rw-r--r--www/gallery3/pkg-comment1
-rw-r--r--www/gallery3/pkg-descr12
-rw-r--r--www/gallery3/pkg-message16
-rw-r--r--www/gallery3/pkg-plist143
19 files changed, 676 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 258e0fcb710f..4dfc8370bee6 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -66,6 +66,7 @@
SUBDIR += fxhtml
SUBDIR += g-gcl
SUBDIR += galeon
+ SUBDIR += gallery
SUBDIR += glibwww
SUBDIR += gn
SUBDIR += gnuinfo
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>
diff --git a/www/gallery/distinfo b/www/gallery/distinfo
new file mode 100644
index 000000000000..a9170350a4f5
--- /dev/null
+++ b/www/gallery/distinfo
@@ -0,0 +1 @@
+MD5 (gallery-1.2.tar.gz) = aeddde54b0fa8c3613fda56949e93c1b
diff --git a/www/gallery/pkg-comment b/www/gallery/pkg-comment
new file mode 100644
index 000000000000..08f3557c759c
--- /dev/null
+++ b/www/gallery/pkg-comment
@@ -0,0 +1 @@
+Gallery is a slick web based photo album written using PHP
diff --git a/www/gallery/pkg-descr b/www/gallery/pkg-descr
new file mode 100644
index 000000000000..870b282a7583
--- /dev/null
+++ b/www/gallery/pkg-descr
@@ -0,0 +1,12 @@
+Gallery is a slick web based photo album written using PHP. Easy to install
+(it includes a config wizard), it provides users with the ability to create
+and maintain their own albums in the album collection via an intuitive web
+interface. Photo management includes automatic thumbnail creation, image
+resizing, rotation, ordering, captioning, searching and more. Albums can
+have read, write and caption permissions per individual authenticated user
+for an additional level of privacy.
+
+WWW: http://gallery.sourceforge.net/
+
+- Jamie
+jamie@hermans.ca
diff --git a/www/gallery/pkg-message b/www/gallery/pkg-message
new file mode 100644
index 000000000000..c4d1087090c9
--- /dev/null
+++ b/www/gallery/pkg-message
@@ -0,0 +1,16 @@
+*****************************************************************
+
+ Please consider adding the following 3 lines to your httpd.conf
+
+ <Directory /usr/local/www/data/gallery>
+ AllowOverride Options FileInfo
+ </Directory>
+
+ Then restart apache: 'apachectl restart'
+
+*****************************************************************
+
+ Please visit 'http://{host.domain}/gallery/' in a
+ web-browser and follow the configuration instructions.
+
+*****************************************************************
diff --git a/www/gallery/pkg-plist b/www/gallery/pkg-plist
new file mode 100644
index 000000000000..bc3446cf60fa
--- /dev/null
+++ b/www/gallery/pkg-plist
@@ -0,0 +1,143 @@
+bin/jhead
+www/data/gallery/add_comment.php
+www/data/gallery/add_photos.php
+www/data/gallery/album_permissions.php
+www/data/gallery/albums.php
+www/data/gallery/ChangeLog
+www/data/gallery/classes/Album.php
+www/data/gallery/classes/AlbumDB.php
+www/data/gallery/classes/AlbumItem.php
+www/data/gallery/classes/Comment.php
+www/data/gallery/classes/Database.php
+www/data/gallery/classes/database/mysql/Database.php
+www/data/gallery/classes/EverybodyUser.php
+www/data/gallery/classes/gallery/User.php
+www/data/gallery/classes/gallery/UserDB.php
+www/data/gallery/classes/Image.php
+www/data/gallery/classes/NobodyUser.php
+www/data/gallery/classes/nuke5/AdminUser.php
+www/data/gallery/classes/nuke5/User.php
+www/data/gallery/classes/nuke5/UserDB.php
+www/data/gallery/classes/User.php
+www/data/gallery/classes/UserDB.php
+www/data/gallery/configure.bat
+www/data/gallery/configure.sh
+www/data/gallery/create_user.php
+www/data/gallery/css/embedded_style.css.default
+www/data/gallery/css/standalone_style.css.default
+www/data/gallery/delete_album.php
+www/data/gallery/delete_photo.php
+www/data/gallery/delete_user.php
+www/data/gallery/do_command.php
+www/data/gallery/edit_appearance.php
+www/data/gallery/edit_caption.php
+www/data/gallery/edit_field.php
+www/data/gallery/edit_thumb.php
+www/data/gallery/errors/configmode.php
+www/data/gallery/errors/configure_instructions.php
+www/data/gallery/errors/needinit.php
+www/data/gallery/errors/reconfigure.php
+www/data/gallery/errors/unconfigured.php
+www/data/gallery/highlight_photo.php
+www/data/gallery/html/errorRow.inc
+www/data/gallery/html/userData.inc
+www/data/gallery/html_wrap/album.footer.default
+www/data/gallery/html_wrap/album.header.default
+www/data/gallery/html_wrap/gallery.footer.default
+www/data/gallery/html_wrap/gallery.header.default
+www/data/gallery/html_wrap/inline_albumthumb.footer.default
+www/data/gallery/html_wrap/inline_albumthumb.header.default
+www/data/gallery/html_wrap/inline_photo.footer.default
+www/data/gallery/html_wrap/inline_photo.header.default
+www/data/gallery/html_wrap/photo.footer.default
+www/data/gallery/html_wrap/photo.header.default
+www/data/gallery/html_wrap/search.footer.default
+www/data/gallery/html_wrap/search.header.default
+www/data/gallery/html_wrap/wrapper.footer.default
+www/data/gallery/html_wrap/wrapper.header.default
+www/data/gallery/images/admin_delete.gif
+www/data/gallery/images/admin_hide.gif
+www/data/gallery/images/admin_highlight.gif
+www/data/gallery/images/admin_move.gif
+www/data/gallery/images/admin_rotate.gif
+www/data/gallery/images/admin_unhide.gif
+www/data/gallery/images/computer.gif
+www/data/gallery/images/gallery-tag.png
+www/data/gallery/images/movie.thumb.jpg
+www/data/gallery/images/nav_dot.gif
+www/data/gallery/images/nav_dot_left.gif
+www/data/gallery/images/nav_dot_right.gif
+www/data/gallery/images/nav_first.gif
+www/data/gallery/images/nav_home.gif
+www/data/gallery/images/nav_last.gif
+www/data/gallery/images/nav_next.gif
+www/data/gallery/images/nav_page.gif
+www/data/gallery/images/nav_prev.gif
+www/data/gallery/images/pixel_trans.gif
+www/data/gallery/index.php
+www/data/gallery/init.php
+www/data/gallery/java/ImageTools.jar
+www/data/gallery/layout/adminbox.inc
+www/data/gallery/layout/breadcrumb.inc
+www/data/gallery/layout/commentdraw.inc
+www/data/gallery/layout/navigator.inc
+www/data/gallery/layout/navphoto.inc
+www/data/gallery/layout/searchdraw.inc
+www/data/gallery/LICENSE.txt
+www/data/gallery/login.php
+www/data/gallery/manage_users.php
+www/data/gallery/modify_user.php
+www/data/gallery/move_album.php
+www/data/gallery/move_photo.php
+www/data/gallery/platform/fs_unix.php
+www/data/gallery/platform/fs_win32.php
+www/data/gallery/progress_uploading.php
+www/data/gallery/README
+www/data/gallery/rename_album.php
+www/data/gallery/resize_photo.php
+www/data/gallery/rotate_photo.php
+www/data/gallery/save_photos.php
+www/data/gallery/search.php
+www/data/gallery/secure.bat
+www/data/gallery/secure.sh
+www/data/gallery/session.php
+www/data/gallery/setup/.htaccess
+www/data/gallery/setup/check.inc
+www/data/gallery/setup/config_data.inc
+www/data/gallery/setup/confirm.inc
+www/data/gallery/setup/constants.inc
+www/data/gallery/setup/defaults.inc
+www/data/gallery/setup/functions.inc
+www/data/gallery/setup/gpl.txt
+www/data/gallery/setup/index.php
+www/data/gallery/setup/init.php
+www/data/gallery/setup/mod_rewrite.template
+www/data/gallery/setup/php_value.template
+www/data/gallery/setup/php_value_ok.php
+www/data/gallery/setup/phpinfo.php
+www/data/gallery/setup/write.inc
+www/data/gallery/sort_album.php
+www/data/gallery/todo
+www/data/gallery/upgrade_album.php
+www/data/gallery/UPGRADING
+www/data/gallery/user_preferences.php
+www/data/gallery/util.php
+www/data/gallery/version.php
+www/data/gallery/view_album.php
+www/data/gallery/view_photo.php
+www/data/gallery/view_photo_properties.php
+@dirrm www/data/gallery/classes/database/mysql
+@dirrm www/data/gallery/classes/database
+@dirrm www/data/gallery/classes/gallery
+@dirrm www/data/gallery/classes/nuke5
+@dirrm www/data/gallery/classes
+@dirrm www/data/gallery/css
+@dirrm www/data/gallery/errors
+@dirrm www/data/gallery/html
+@dirrm www/data/gallery/html_wrap
+@dirrm www/data/gallery/images
+@dirrm www/data/gallery/java
+@dirrm www/data/gallery/layout
+@dirrm www/data/gallery/platform
+@dirrm www/data/gallery/setup
+@dirrm www/data/gallery
diff --git a/www/gallery2/Makefile b/www/gallery2/Makefile
new file mode 100644
index 000000000000..c95d1a367664
--- /dev/null
+++ b/www/gallery2/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>
diff --git a/www/gallery2/distinfo b/www/gallery2/distinfo
new file mode 100644
index 000000000000..a9170350a4f5
--- /dev/null
+++ b/www/gallery2/distinfo
@@ -0,0 +1 @@
+MD5 (gallery-1.2.tar.gz) = aeddde54b0fa8c3613fda56949e93c1b
diff --git a/www/gallery2/pkg-comment b/www/gallery2/pkg-comment
new file mode 100644
index 000000000000..08f3557c759c
--- /dev/null
+++ b/www/gallery2/pkg-comment
@@ -0,0 +1 @@
+Gallery is a slick web based photo album written using PHP
diff --git a/www/gallery2/pkg-descr b/www/gallery2/pkg-descr
new file mode 100644
index 000000000000..870b282a7583
--- /dev/null
+++ b/www/gallery2/pkg-descr
@@ -0,0 +1,12 @@
+Gallery is a slick web based photo album written using PHP. Easy to install
+(it includes a config wizard), it provides users with the ability to create
+and maintain their own albums in the album collection via an intuitive web
+interface. Photo management includes automatic thumbnail creation, image
+resizing, rotation, ordering, captioning, searching and more. Albums can
+have read, write and caption permissions per individual authenticated user
+for an additional level of privacy.
+
+WWW: http://gallery.sourceforge.net/
+
+- Jamie
+jamie@hermans.ca
diff --git a/www/gallery2/pkg-message b/www/gallery2/pkg-message
new file mode 100644
index 000000000000..c4d1087090c9
--- /dev/null
+++ b/www/gallery2/pkg-message
@@ -0,0 +1,16 @@
+*****************************************************************
+
+ Please consider adding the following 3 lines to your httpd.conf
+
+ <Directory /usr/local/www/data/gallery>
+ AllowOverride Options FileInfo
+ </Directory>
+
+ Then restart apache: 'apachectl restart'
+
+*****************************************************************
+
+ Please visit 'http://{host.domain}/gallery/' in a
+ web-browser and follow the configuration instructions.
+
+*****************************************************************
diff --git a/www/gallery2/pkg-plist b/www/gallery2/pkg-plist
new file mode 100644
index 000000000000..bc3446cf60fa
--- /dev/null
+++ b/www/gallery2/pkg-plist
@@ -0,0 +1,143 @@
+bin/jhead
+www/data/gallery/add_comment.php
+www/data/gallery/add_photos.php
+www/data/gallery/album_permissions.php
+www/data/gallery/albums.php
+www/data/gallery/ChangeLog
+www/data/gallery/classes/Album.php
+www/data/gallery/classes/AlbumDB.php
+www/data/gallery/classes/AlbumItem.php
+www/data/gallery/classes/Comment.php
+www/data/gallery/classes/Database.php
+www/data/gallery/classes/database/mysql/Database.php
+www/data/gallery/classes/EverybodyUser.php
+www/data/gallery/classes/gallery/User.php
+www/data/gallery/classes/gallery/UserDB.php
+www/data/gallery/classes/Image.php
+www/data/gallery/classes/NobodyUser.php
+www/data/gallery/classes/nuke5/AdminUser.php
+www/data/gallery/classes/nuke5/User.php
+www/data/gallery/classes/nuke5/UserDB.php
+www/data/gallery/classes/User.php
+www/data/gallery/classes/UserDB.php
+www/data/gallery/configure.bat
+www/data/gallery/configure.sh
+www/data/gallery/create_user.php
+www/data/gallery/css/embedded_style.css.default
+www/data/gallery/css/standalone_style.css.default
+www/data/gallery/delete_album.php
+www/data/gallery/delete_photo.php
+www/data/gallery/delete_user.php
+www/data/gallery/do_command.php
+www/data/gallery/edit_appearance.php
+www/data/gallery/edit_caption.php
+www/data/gallery/edit_field.php
+www/data/gallery/edit_thumb.php
+www/data/gallery/errors/configmode.php
+www/data/gallery/errors/configure_instructions.php
+www/data/gallery/errors/needinit.php
+www/data/gallery/errors/reconfigure.php
+www/data/gallery/errors/unconfigured.php
+www/data/gallery/highlight_photo.php
+www/data/gallery/html/errorRow.inc
+www/data/gallery/html/userData.inc
+www/data/gallery/html_wrap/album.footer.default
+www/data/gallery/html_wrap/album.header.default
+www/data/gallery/html_wrap/gallery.footer.default
+www/data/gallery/html_wrap/gallery.header.default
+www/data/gallery/html_wrap/inline_albumthumb.footer.default
+www/data/gallery/html_wrap/inline_albumthumb.header.default
+www/data/gallery/html_wrap/inline_photo.footer.default
+www/data/gallery/html_wrap/inline_photo.header.default
+www/data/gallery/html_wrap/photo.footer.default
+www/data/gallery/html_wrap/photo.header.default
+www/data/gallery/html_wrap/search.footer.default
+www/data/gallery/html_wrap/search.header.default
+www/data/gallery/html_wrap/wrapper.footer.default
+www/data/gallery/html_wrap/wrapper.header.default
+www/data/gallery/images/admin_delete.gif
+www/data/gallery/images/admin_hide.gif
+www/data/gallery/images/admin_highlight.gif
+www/data/gallery/images/admin_move.gif
+www/data/gallery/images/admin_rotate.gif
+www/data/gallery/images/admin_unhide.gif
+www/data/gallery/images/computer.gif
+www/data/gallery/images/gallery-tag.png
+www/data/gallery/images/movie.thumb.jpg
+www/data/gallery/images/nav_dot.gif
+www/data/gallery/images/nav_dot_left.gif
+www/data/gallery/images/nav_dot_right.gif
+www/data/gallery/images/nav_first.gif
+www/data/gallery/images/nav_home.gif
+www/data/gallery/images/nav_last.gif
+www/data/gallery/images/nav_next.gif
+www/data/gallery/images/nav_page.gif
+www/data/gallery/images/nav_prev.gif
+www/data/gallery/images/pixel_trans.gif
+www/data/gallery/index.php
+www/data/gallery/init.php
+www/data/gallery/java/ImageTools.jar
+www/data/gallery/layout/adminbox.inc
+www/data/gallery/layout/breadcrumb.inc
+www/data/gallery/layout/commentdraw.inc
+www/data/gallery/layout/navigator.inc
+www/data/gallery/layout/navphoto.inc
+www/data/gallery/layout/searchdraw.inc
+www/data/gallery/LICENSE.txt
+www/data/gallery/login.php
+www/data/gallery/manage_users.php
+www/data/gallery/modify_user.php
+www/data/gallery/move_album.php
+www/data/gallery/move_photo.php
+www/data/gallery/platform/fs_unix.php
+www/data/gallery/platform/fs_win32.php
+www/data/gallery/progress_uploading.php
+www/data/gallery/README
+www/data/gallery/rename_album.php
+www/data/gallery/resize_photo.php
+www/data/gallery/rotate_photo.php
+www/data/gallery/save_photos.php
+www/data/gallery/search.php
+www/data/gallery/secure.bat
+www/data/gallery/secure.sh
+www/data/gallery/session.php
+www/data/gallery/setup/.htaccess
+www/data/gallery/setup/check.inc
+www/data/gallery/setup/config_data.inc
+www/data/gallery/setup/confirm.inc
+www/data/gallery/setup/constants.inc
+www/data/gallery/setup/defaults.inc
+www/data/gallery/setup/functions.inc
+www/data/gallery/setup/gpl.txt
+www/data/gallery/setup/index.php
+www/data/gallery/setup/init.php
+www/data/gallery/setup/mod_rewrite.template
+www/data/gallery/setup/php_value.template
+www/data/gallery/setup/php_value_ok.php
+www/data/gallery/setup/phpinfo.php
+www/data/gallery/setup/write.inc
+www/data/gallery/sort_album.php
+www/data/gallery/todo
+www/data/gallery/upgrade_album.php
+www/data/gallery/UPGRADING
+www/data/gallery/user_preferences.php
+www/data/gallery/util.php
+www/data/gallery/version.php
+www/data/gallery/view_album.php
+www/data/gallery/view_photo.php
+www/data/gallery/view_photo_properties.php
+@dirrm www/data/gallery/classes/database/mysql
+@dirrm www/data/gallery/classes/database
+@dirrm www/data/gallery/classes/gallery
+@dirrm www/data/gallery/classes/nuke5
+@dirrm www/data/gallery/classes
+@dirrm www/data/gallery/css
+@dirrm www/data/gallery/errors
+@dirrm www/data/gallery/html
+@dirrm www/data/gallery/html_wrap
+@dirrm www/data/gallery/images
+@dirrm www/data/gallery/java
+@dirrm www/data/gallery/layout
+@dirrm www/data/gallery/platform
+@dirrm www/data/gallery/setup
+@dirrm www/data/gallery
diff --git a/www/gallery3/Makefile b/www/gallery3/Makefile
new file mode 100644
index 000000000000..c95d1a367664
--- /dev/null
+++ b/www/gallery3/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>
diff --git a/www/gallery3/distinfo b/www/gallery3/distinfo
new file mode 100644
index 000000000000..a9170350a4f5
--- /dev/null
+++ b/www/gallery3/distinfo
@@ -0,0 +1 @@
+MD5 (gallery-1.2.tar.gz) = aeddde54b0fa8c3613fda56949e93c1b
diff --git a/www/gallery3/pkg-comment b/www/gallery3/pkg-comment
new file mode 100644
index 000000000000..08f3557c759c
--- /dev/null
+++ b/www/gallery3/pkg-comment
@@ -0,0 +1 @@
+Gallery is a slick web based photo album written using PHP
diff --git a/www/gallery3/pkg-descr b/www/gallery3/pkg-descr
new file mode 100644
index 000000000000..870b282a7583
--- /dev/null
+++ b/www/gallery3/pkg-descr
@@ -0,0 +1,12 @@
+Gallery is a slick web based photo album written using PHP. Easy to install
+(it includes a config wizard), it provides users with the ability to create
+and maintain their own albums in the album collection via an intuitive web
+interface. Photo management includes automatic thumbnail creation, image
+resizing, rotation, ordering, captioning, searching and more. Albums can
+have read, write and caption permissions per individual authenticated user
+for an additional level of privacy.
+
+WWW: http://gallery.sourceforge.net/
+
+- Jamie
+jamie@hermans.ca
diff --git a/www/gallery3/pkg-message b/www/gallery3/pkg-message
new file mode 100644
index 000000000000..c4d1087090c9
--- /dev/null
+++ b/www/gallery3/pkg-message
@@ -0,0 +1,16 @@
+*****************************************************************
+
+ Please consider adding the following 3 lines to your httpd.conf
+
+ <Directory /usr/local/www/data/gallery>
+ AllowOverride Options FileInfo
+ </Directory>
+
+ Then restart apache: 'apachectl restart'
+
+*****************************************************************
+
+ Please visit 'http://{host.domain}/gallery/' in a
+ web-browser and follow the configuration instructions.
+
+*****************************************************************
diff --git a/www/gallery3/pkg-plist b/www/gallery3/pkg-plist
new file mode 100644
index 000000000000..bc3446cf60fa
--- /dev/null
+++ b/www/gallery3/pkg-plist
@@ -0,0 +1,143 @@
+bin/jhead
+www/data/gallery/add_comment.php
+www/data/gallery/add_photos.php
+www/data/gallery/album_permissions.php
+www/data/gallery/albums.php
+www/data/gallery/ChangeLog
+www/data/gallery/classes/Album.php
+www/data/gallery/classes/AlbumDB.php
+www/data/gallery/classes/AlbumItem.php
+www/data/gallery/classes/Comment.php
+www/data/gallery/classes/Database.php
+www/data/gallery/classes/database/mysql/Database.php
+www/data/gallery/classes/EverybodyUser.php
+www/data/gallery/classes/gallery/User.php
+www/data/gallery/classes/gallery/UserDB.php
+www/data/gallery/classes/Image.php
+www/data/gallery/classes/NobodyUser.php
+www/data/gallery/classes/nuke5/AdminUser.php
+www/data/gallery/classes/nuke5/User.php
+www/data/gallery/classes/nuke5/UserDB.php
+www/data/gallery/classes/User.php
+www/data/gallery/classes/UserDB.php
+www/data/gallery/configure.bat
+www/data/gallery/configure.sh
+www/data/gallery/create_user.php
+www/data/gallery/css/embedded_style.css.default
+www/data/gallery/css/standalone_style.css.default
+www/data/gallery/delete_album.php
+www/data/gallery/delete_photo.php
+www/data/gallery/delete_user.php
+www/data/gallery/do_command.php
+www/data/gallery/edit_appearance.php
+www/data/gallery/edit_caption.php
+www/data/gallery/edit_field.php
+www/data/gallery/edit_thumb.php
+www/data/gallery/errors/configmode.php
+www/data/gallery/errors/configure_instructions.php
+www/data/gallery/errors/needinit.php
+www/data/gallery/errors/reconfigure.php
+www/data/gallery/errors/unconfigured.php
+www/data/gallery/highlight_photo.php
+www/data/gallery/html/errorRow.inc
+www/data/gallery/html/userData.inc
+www/data/gallery/html_wrap/album.footer.default
+www/data/gallery/html_wrap/album.header.default
+www/data/gallery/html_wrap/gallery.footer.default
+www/data/gallery/html_wrap/gallery.header.default
+www/data/gallery/html_wrap/inline_albumthumb.footer.default
+www/data/gallery/html_wrap/inline_albumthumb.header.default
+www/data/gallery/html_wrap/inline_photo.footer.default
+www/data/gallery/html_wrap/inline_photo.header.default
+www/data/gallery/html_wrap/photo.footer.default
+www/data/gallery/html_wrap/photo.header.default
+www/data/gallery/html_wrap/search.footer.default
+www/data/gallery/html_wrap/search.header.default
+www/data/gallery/html_wrap/wrapper.footer.default
+www/data/gallery/html_wrap/wrapper.header.default
+www/data/gallery/images/admin_delete.gif
+www/data/gallery/images/admin_hide.gif
+www/data/gallery/images/admin_highlight.gif
+www/data/gallery/images/admin_move.gif
+www/data/gallery/images/admin_rotate.gif
+www/data/gallery/images/admin_unhide.gif
+www/data/gallery/images/computer.gif
+www/data/gallery/images/gallery-tag.png
+www/data/gallery/images/movie.thumb.jpg
+www/data/gallery/images/nav_dot.gif
+www/data/gallery/images/nav_dot_left.gif
+www/data/gallery/images/nav_dot_right.gif
+www/data/gallery/images/nav_first.gif
+www/data/gallery/images/nav_home.gif
+www/data/gallery/images/nav_last.gif
+www/data/gallery/images/nav_next.gif
+www/data/gallery/images/nav_page.gif
+www/data/gallery/images/nav_prev.gif
+www/data/gallery/images/pixel_trans.gif
+www/data/gallery/index.php
+www/data/gallery/init.php
+www/data/gallery/java/ImageTools.jar
+www/data/gallery/layout/adminbox.inc
+www/data/gallery/layout/breadcrumb.inc
+www/data/gallery/layout/commentdraw.inc
+www/data/gallery/layout/navigator.inc
+www/data/gallery/layout/navphoto.inc
+www/data/gallery/layout/searchdraw.inc
+www/data/gallery/LICENSE.txt
+www/data/gallery/login.php
+www/data/gallery/manage_users.php
+www/data/gallery/modify_user.php
+www/data/gallery/move_album.php
+www/data/gallery/move_photo.php
+www/data/gallery/platform/fs_unix.php
+www/data/gallery/platform/fs_win32.php
+www/data/gallery/progress_uploading.php
+www/data/gallery/README
+www/data/gallery/rename_album.php
+www/data/gallery/resize_photo.php
+www/data/gallery/rotate_photo.php
+www/data/gallery/save_photos.php
+www/data/gallery/search.php
+www/data/gallery/secure.bat
+www/data/gallery/secure.sh
+www/data/gallery/session.php
+www/data/gallery/setup/.htaccess
+www/data/gallery/setup/check.inc
+www/data/gallery/setup/config_data.inc
+www/data/gallery/setup/confirm.inc
+www/data/gallery/setup/constants.inc
+www/data/gallery/setup/defaults.inc
+www/data/gallery/setup/functions.inc
+www/data/gallery/setup/gpl.txt
+www/data/gallery/setup/index.php
+www/data/gallery/setup/init.php
+www/data/gallery/setup/mod_rewrite.template
+www/data/gallery/setup/php_value.template
+www/data/gallery/setup/php_value_ok.php
+www/data/gallery/setup/phpinfo.php
+www/data/gallery/setup/write.inc
+www/data/gallery/sort_album.php
+www/data/gallery/todo
+www/data/gallery/upgrade_album.php
+www/data/gallery/UPGRADING
+www/data/gallery/user_preferences.php
+www/data/gallery/util.php
+www/data/gallery/version.php
+www/data/gallery/view_album.php
+www/data/gallery/view_photo.php
+www/data/gallery/view_photo_properties.php
+@dirrm www/data/gallery/classes/database/mysql
+@dirrm www/data/gallery/classes/database
+@dirrm www/data/gallery/classes/gallery
+@dirrm www/data/gallery/classes/nuke5
+@dirrm www/data/gallery/classes
+@dirrm www/data/gallery/css
+@dirrm www/data/gallery/errors
+@dirrm www/data/gallery/html
+@dirrm www/data/gallery/html_wrap
+@dirrm www/data/gallery/images
+@dirrm www/data/gallery/java
+@dirrm www/data/gallery/layout
+@dirrm www/data/gallery/platform
+@dirrm www/data/gallery/setup
+@dirrm www/data/gallery