# $Id: Portfile 115019 2013-12-22 09:29:46Z ryandesign@macports.org $ PortSystem 1.0 name gallery version 2.3.1 revision 4 categories www maintainers gmail.com:ckieffer supported_archs noarch license GPL-2 description Gallery is a web based photo album written using PHP long_description Gallery is a web based software product that lets you manage your \ photos on your own website. You must have your own website with PHP \ support in order to install and use it. With Gallery you can easily \ create and maintain albums of photos via an intuitive 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. Give accounts to your friends and \ family and let them upload and manage their own photos on your \ website! homepage http://gallery.menalto.com master_sites sourceforge distname gallery-${version}-full checksums sha1 6cecd8d9ca1dc036faebafe71352321b3b08074b \ rmd160 751343d3ddaa7898eb0cb412e08c2c7570c70620 platforms darwin freebsd depends_run port:jhead \ port:netpbm \ port:unzip \ port:ImageMagick \ port:expat \ port:fontconfig \ port:ghostscript \ port:jasper \ port:jbigkit \ port:lcms \ port:libiconv \ port:libxml2 \ port:mpeg2vidcodec \ path:bin/perl:perl5 \ port:libpng \ port:tiff depends_lib port:php5-web variant mysql conflicts postgresql description {Use MySQL database} { depends_lib-append port:php5-mysql } variant postgresql conflicts mysql description {Use PostgreSQL database} { depends_lib-append port:php5-postgresql } if {![variant_isset postgresql]} { default_variants +mysql } use_configure no build {} destroot { xinstall -d ${destroot}${prefix}/www/data copy ${workpath}/gallery2 ${destroot}${prefix}/www/data/gallery }