# $Id: Portfile 32643 2008-01-10 08:35:19Z afb@macports.org $ PortSystem 1.0 name smart version 0.52 platforms darwin freebsd categories sysutils archivers maintainers n3npq@mac.com afb@macports.org description Automatic updater and package installer/remover long_description The Smart Package Manager project has the ambitious \ objective of creating smart and portable algorithms \ for solving adequately the problem of managing software \ upgrading and installation. This tool works in all \ major distributions, and will bring notable advantages \ over native tools currently in use (APT, APT-RPM, YUM, \ URPMI, etc). homepage http://smartpm.org master_sites http://labix.org/download/smart/ checksums md5 f1681adedd18b86f679a53ad8361c9e9 \ sha1 56e04b5bc2bfd3eb850da40baad7afc2ee256d0d \ rmd160 16d692b4cd8c391bbf0b4578b998a54fc1ed6f4a use_bzip2 yes patchfiles patch-prefix.diff patch-archscore.diff patch-filetools.py depends_lib lib:librpm:rpm port:python24 ### by default, it will run --shell interface. ### to run it with --gui, you will need: #depends_run port:py-gtk2 patch { foreach patch $patchfiles { system "cd '${workpath}/${distname}' && \ sed -e 's#@@PREFIX@@#${prefix}#g' '${portpath}/${filesdir}/${patch}' | patch -p0" } } use_configure no build.env PYTHON="${prefix}/bin/python2.4" livecheck.name smartpm livecheck.check regex livecheck.url ${homepage} livecheck.regex /download/smart/${name}-(\[0-9\\.\]+)${extract.suffix}