1 | PortSystem 1.0 |
---|
2 | |
---|
3 | name gallery |
---|
4 | version 2.0 |
---|
5 | categories www |
---|
6 | maintainers joe@netmusician.org |
---|
7 | |
---|
8 | description Gallery is a web based photo album written using PHP |
---|
9 | long_description Gallery is a web based software product that lets you manage your \ |
---|
10 | photos on your own website. You must have your own website with PHP \ |
---|
11 | support in order to install and use it. With Gallery you can easily \ |
---|
12 | create and maintain albums of photos via an intuitive interface. Photo \ |
---|
13 | management includes automatic thumbnail creation, image resizing, \ |
---|
14 | rotation, ordering, captioning, searching and more. Albums can have \ |
---|
15 | read, write and caption permissions per individual authenticated user \ |
---|
16 | for an additional level of privacy. Give accounts to your friends and \ |
---|
17 | family and let them upload and manage their own photos on your \ |
---|
18 | website! |
---|
19 | |
---|
20 | homepage http://gallery.menalto.com |
---|
21 | master_sites sourceforge |
---|
22 | distname gallery-${version}-full |
---|
23 | checksums md5 2b0f11a494b7c18e17f333509cbb7ee8 |
---|
24 | platforms darwin freebsd |
---|
25 | |
---|
26 | # port:netpbm broken as of 10/01/05, could be added as a dependency |
---|
27 | |
---|
28 | depends_lib port:jhead \ |
---|
29 | port:unzip \ |
---|
30 | port:ImageMagick |
---|
31 | |
---|
32 | default_variants +apache +php4 +mysql4 |
---|
33 | |
---|
34 | variant apache conflicts apache2 { |
---|
35 | depends_lib-append port:apache |
---|
36 | } |
---|
37 | |
---|
38 | variant apache2 conflicts apache { |
---|
39 | depends_lib-append port:apache2 |
---|
40 | } |
---|
41 | |
---|
42 | variant php4 conflicts php5 { |
---|
43 | depends_lib-append port:php4 |
---|
44 | } |
---|
45 | |
---|
46 | variant php5 conflicts php4 { |
---|
47 | depends_lib-append port:php5 |
---|
48 | } |
---|
49 | |
---|
50 | variant mysql conflicts mysql4 postgresql { |
---|
51 | depends_lib-append port:mysql |
---|
52 | } |
---|
53 | |
---|
54 | variant mysql4 conflicts mysql postgresql { |
---|
55 | depends_lib-append port:mysql4 |
---|
56 | } |
---|
57 | |
---|
58 | variant postgresql conflicts mysql mysql4 { |
---|
59 | depends_lib-append port:postgresql |
---|
60 | } |
---|
61 | |
---|
62 | use_configure no |
---|
63 | configure {} |
---|
64 | build {} |
---|
65 | |
---|
66 | |
---|
67 | if { [variant_isset apache] } { |
---|
68 | set docpath ${destroot}${prefix}/www/data/gallery |
---|
69 | } elseif { [variant_isset apache2] } { |
---|
70 | set docpath ${destroot}${prefix}/apache2/htdocs/gallery |
---|
71 | } |
---|
72 | |
---|
73 | destroot { |
---|
74 | xinstall -m 755 -d ${destroot}${prefix}/www/data/gallery |
---|
75 | eval file copy [glob ${workpath}/gallery2/*] ${docpath} |
---|
76 | } |
---|