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 | depends_run port:jhead \ |
---|
27 | port:netpbm \ |
---|
28 | port:unzip \ |
---|
29 | port:ImageMagick |
---|
30 | |
---|
31 | default_variants +apache +php4 +mysql4 |
---|
32 | |
---|
33 | variant apache conflicts apache2 { |
---|
34 | depends_lib-append port:apache |
---|
35 | } |
---|
36 | |
---|
37 | variant apache2 conflicts apache { |
---|
38 | depends_lib-append port:apache2 |
---|
39 | } |
---|
40 | |
---|
41 | variant php4 conflicts php5 { |
---|
42 | depends_lib-append port:php4 |
---|
43 | } |
---|
44 | |
---|
45 | variant php5 conflicts php4 { |
---|
46 | depends_lib-append port:php5 |
---|
47 | } |
---|
48 | |
---|
49 | variant mysql conflicts mysql4 postgresql { |
---|
50 | depends_lib-append port:mysql |
---|
51 | } |
---|
52 | |
---|
53 | variant mysql4 conflicts mysql postgresql { |
---|
54 | depends_lib-append port:mysql4 |
---|
55 | } |
---|
56 | |
---|
57 | variant postgresql conflicts mysql mysql4 { |
---|
58 | depends_lib-append port:postgresql |
---|
59 | } |
---|
60 | |
---|
61 | use_configure no |
---|
62 | configure {} |
---|
63 | build {} |
---|
64 | |
---|
65 | |
---|
66 | set docpath ${destroot}${prefix}/www/data/gallery |
---|
67 | |
---|
68 | destroot { |
---|
69 | xinstall -m 755 -d ${destroot}${prefix}/www/data/gallery |
---|
70 | eval file copy [glob ${workpath}/gallery2/*] ${docpath} |
---|
71 | } |
---|