Ticket #27848: gallery-ryandesign.diff
File gallery-ryandesign.diff, 2.3 KB (added by ryandesign (Ryan Carsten Schmidt), 14 years ago) |
---|
-
Portfile
3 3 PortSystem 1.0 4 4 5 5 name gallery 6 version 2.3 6 version 2.3.1 7 7 categories www 8 8 maintainers gmail.com:ckieffer 9 supported_archs noarch 10 license GPL-2 9 11 10 12 description Gallery is a web based photo album written using PHP 11 13 long_description Gallery is a web based software product that lets you manage your \ … … 22 24 homepage http://gallery.menalto.com 23 25 master_sites sourceforge 24 26 distname gallery-${version}-full 25 checksums md5 f85663db5f1de99d0b3bc13929f9ab39 \ 26 sha1 585e9530aeb4f44f198c7d430fe458d461c743bb 27 28 checksums sha1 6cecd8d9ca1dc036faebafe71352321b3b08074b \ 29 rmd160 751343d3ddaa7898eb0cb412e08c2c7570c70620 30 27 31 platforms darwin freebsd 28 32 29 33 depends_run port:jhead \ … … 40 44 port:libxml2 \ 41 45 port:mpeg2vidcodec \ 42 46 path:bin/perl:perl5 \ 43 port:pkgconfig \44 47 port:libpng \ 45 48 port:tiff 46 49 47 depends_lib port: apache2 path:bin/php:php5 path:bin/mysql_config5:mysql550 depends_lib port:php5-web 48 51 49 variant apache { 50 depends_lib-append port:apache 51 depends_lib-delete port:apache2 52 variant mysql conflicts postgresql description {Use MySQL database} { 53 depends_lib-append port:php5-mysql 52 54 } 53 55 54 variant php4 { 55 depends_lib-append port:php4 56 depends_lib-delete path:bin/php:php5 56 variant postgresql conflicts mysql description {Use PostgreSQL database} { 57 depends_lib-append port:php5-postgresql 57 58 } 58 59 59 variant mysql4 conflicts postgresql7 postgresql8 { 60 depends_lib-append port:mysql4 61 depends_lib-delete path:bin/mysql_config5:mysql5 60 if {![variant_isset postgresql]} { 61 default_variants +mysql 62 62 } 63 63 64 variant postgresql7 conflicts mysql4 mysql5 postgresql8 {65 depends_lib-append port:postgresql766 depends_lib-delete path:bin/mysql_config5:mysql567 }68 69 variant postgresql8 conflicts mysql4 mysql5 postgresql7 {70 depends_lib-append port:postgresql8071 depends_lib-delete path:bin/mysql_config5:mysql572 }73 74 64 use_configure no 75 65 build {} 76 66 77 set docpath ${destroot}${prefix}/www/data/gallery78 79 67 destroot { 80 xinstall -m 755 -d ${destroot}${prefix}/www/data/gallery 81 eval file copy [glob ${workpath}/gallery2/*] ${docpath} 68 xinstall -d ${destroot}${prefix}/www/data 69 copy ${workpath}/gallery2 ${destroot}${prefix}/www/data/gallery 82 70 }