# $Id: Portfile 30188 2007-10-22 20:31:41Z jmpp@macports.org $ PortSystem 1.0 name bzip2 version 1.0.4 revision 1 platforms darwin freebsd linux sunos categories sysutils archivers maintainers ryandesign openmaintainer description bzip2 compression library and tools homepage http://www.bzip.org/ master_sites http://www.bzip.org/${version}/ checksums md5 fc310b254f6ba5fbb5da018f04533688 \ sha1 f2388ec8f2c506e02aa89e67577b3c6331cbaa4c \ rmd160 438365cb911ef84b3bd6643e0d39f6b7567f0447 patchfiles patch-Makefile-man.diff \ patch-Makefile-links.diff platform darwin { patchfiles-append patch-Makefile-dylib.diff } platform freebsd { patchfiles-append patch-Makefile-so.diff } platform linux { patchfiles-append patch-Makefile-so.diff } platform sunos { patchfiles-append patch-Makefile-so.diff } platform darwin 7 { build.env DYLD_LIBRARY_PATH="${worksrcpath}" } use_configure no build.args PREFIX="${prefix}" destroot.destdir PREFIX="${destroot}/${prefix}" variant universal { build.args-append \ CC="gcc ${configure.universal_cflags}" }