Ticket #3775: Portfile

File Portfile, 1.3 KB (added by branana@…, 19 years ago)

a sample Portfile from that site

Line 
1# $Id: Portfile 264 2005-05-26 07:09:17Z pjenvey $
2
3PortSystem 1.0
4PortGroup python24 1.0
5
6name             hellanzb
7version          0.5
8categories       news python
9maintainers      pjenvey@groovie.org
10description      nzb downloader and post processor
11long_description \
12                 hellanzb is an easy to use app designed to retrieve nzb files and fully process them. \
13                 The goal being to make getting files from Usenet as hands-free as possible. Once fully \
14                 installed, all thats required is moving an nzb file to the queue directory. The rest: \
15                 downloading, par-checking, un-raring, etc. is done automatically by hellanzb.
16homepage         http://www.hellanzb.com
17platforms        darwin
18
19master_sites     http://www.hellanzb.com/distfiles/
20distname         hellanzb-${version}
21checksums        md5 3b0c7c3db3c0a2a4b8d517c19fad2d49
22
23depends_run  bin:par2:par2 \
24             bin:rar:rar \
25             bin:flac:flac \
26             bin:shorten:shorten \
27             lib:XXX:py-twisted \
28
29post-activate {
30        # copy over the sample conf file if necessary
31        if { ![file exists ${prefix}/etc/${name}.conf] } {
32             file copy ${prefix}/etc/${name}.conf.sample \
33             ${prefix}/etc/${name}.conf
34        }
35}