# $Id: Portfile 28338 2007-08-28 15:31:59Z afb@macports.org $ PortSystem 1.0 name smart version 0.51 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 6584bf3b977081162d19e220fdbcb3ac use_bzip2 yes patchfiles patch-prefix.diff patch-filetools.py depends_lib lib:librpm:rpm port:python24 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}