1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name smart |
---|
5 | version 0.38 |
---|
6 | revision 0 |
---|
7 | platforms darwin |
---|
8 | categories sysutils archivers |
---|
9 | maintainers n3npq@mac.com |
---|
10 | description Automatic updater and package installer/remover |
---|
11 | long_description The Smart Package Manager project has the ambitious \ |
---|
12 | objective of creating smart and portable algorithms \ |
---|
13 | for solving adequately the problem of managing software \ |
---|
14 | upgrading and installation. This tool works in all \ |
---|
15 | major distributions, and will bring notable advantages \ |
---|
16 | over native tools currently in use (APT, APT-RPM, YUM, \ |
---|
17 | URPMI, etc). |
---|
18 | homepage http://smartpm.org |
---|
19 | master_sites http://linux-br.conectiva.com.br/~niemeyer/smart/files/smart-0.38.tar.bz2 |
---|
20 | checksums md5 ee300e078d0fe15336569d03f95a1b76 |
---|
21 | |
---|
22 | use_bzip2 yes |
---|
23 | patchfiles patch-prefix.diff |
---|
24 | |
---|
25 | depends_lib lib:librpm:rpm port:python24 |
---|
26 | |
---|
27 | patch { |
---|
28 | foreach patch $patchfiles { |
---|
29 | system "cd '${workpath}/${distname}' && \ |
---|
30 | sed -e 's#@@PREFIX@@#${prefix}#g' '${portpath}/${filesdir}/${patch}' | patch -p0" |
---|
31 | } |
---|
32 | system "echo 'exit 0' > '${workpath}/${distname}/configure' && chmod +x '${workpath}/${distname}/configure'" |
---|
33 | } |
---|
34 | |
---|
35 | build.env PYTHON="${prefix}/bin/python2.4" |
---|