Ticket #24836: Portfile

File Portfile, 978 bytes (added by jmroot (Joshua Root), 8 years ago)

Portfile

Line 
1# $Id$
2
3PortSystem       1.0
4
5name             capture
6version          1.0.4-cvs-20071123
7categories       multimedia
8maintainers      ugh.net.au:andrew
9platforms        darwin
10description      Canon Capture
11long_description Capture is a tool for periodic image capturing with digital \
12                 Canon cameras
13homepage         http://capture.sourceforge.net/
14master_sites     sourceforge
15checksums        md5 78899a989e7c2cc585a382e3aa17f491 \
16                 sha1 bfeb2e5ec585ed27049574e7edd999fed205f0ff \
17                 rmd160 ea38719b1f224b9079d6991eeda1211b82afaff9
18depends_lib      port:gtk2 \
19                 port:readline \
20                 port:libptp2
21use_configure    no
22patchfiles       patch-Makefile.diff \
23                 patch-client.c.diff \
24                 patch-server.c.diff \
25                 patch-viewfinder.c.diff
26post-patch {
27    reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/Makefile
28}
29destroot.destdir PREFIX=${destroot}${prefix}