# $Id: Portfile,v 1.3 2006/02/06 07:03:18 olegb Exp $ PortSystem 1.0 name smart version 0.41 platforms darwin categories sysutils archivers maintainers n3npq@mac.com 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 1460dfbfe7f739ac718525c71f46b5fc use_bzip2 yes patchfiles patch-prefix.diff 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" } system "echo 'exit 0' > '${workpath}/${distname}/configure' && chmod +x '${workpath}/${distname}/configure'" } build.env PYTHON="${prefix}/bin/python2.4"