Ticket #24762: Portfile

File Portfile, 2.0 KB (added by ddkilzer@…, 15 years ago)
Line 
1# $Id$
2
3PortSystem    1.0
4PortGroup     python26 1.0
5
6name          bzr-fastimport
7version       0.9.0
8revision      261
9set bzr_revision bzr${revision}
10set debian_version ${version}~${bzr_revision}-1
11categories    devel python
12platforms     darwin
13maintainers   unknown
14
15description   Fast-import/fast-export plugin for Bazaar
16long_description  Bazaar Fast Import is a plugin providing fast loading \
17    of revision control data into Bazaar. \
18     \
19    It is designed to be used in combination with front-end programs that \
20    generate a command/data stream for it to process. Front-ends are available \
21    for a wide range of foreign VCS tools including Subversion, CVS, Git, \
22    Mercurial, Darcs and Perforce. New front-ends are easy to develop in whatever \
23    programming language you prefer, making Bazaar Fast Import useful for teams \
24    needing a custom migration solution.
25
26set debian_patch    ${name}_${debian_version}.diff.gz
27
28homepage      https://launchpad.net/bzr-fastimport
29master_sites  https://launchpad.net/ubuntu/maverick/+source/${name}/${debian_version}/+files/
30distname      ${name}_${version}~${bzr_revision}.orig
31distfiles     ${distname}${extract.suffix}
32
33checksums     ${distname}${extract.suffix} md5     c3a2d5e1f45dccb3a2b76cf432bdcb39 \
34              ${distname}${extract.suffix} sha1    08892265a9bef72de16236982f894058bf11055b \
35              ${distname}${extract.suffix} rmd160  5171532cc9819d4ea48fc77637f74d35f9bd2034 \
36              ${debian_patch} md5     21b7160288109f9c99c486ef434ca66c \
37              ${debian_patch} sha1    b9c0f2a1916372e9c74d62f8211bd95959f8ab31 \
38              ${debian_patch} rmd160  76b1ccd12fa7c810ae9637203fb6cb1fc295ccf2
39
40depends_lib-append  port:bzr
41
42universal_variant   no
43
44livecheck.type      regex
45livecheck.url       https://launchpad.net/ubuntu/maverick/+source/${name}
46livecheck.regex     {bzr-fastimport_(\d+(?:\.\d+)*~bzr\d+).orig.tar.gz}
47
48patch_sites         https://launchpad.net/ubuntu/maverick/+source/${name}/${debian_version}/+files/
49patchfiles          ${debian_patch}
50patch.args          -p1