source: trunk/dports/sysutils/rpm/Portfile @ 2138

Last change on this file since 2138 was 2138, checked in by michaelm, 17 years ago

added Id

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1# $Id: Portfile,v 1.2 2003/03/03 21:48:40 michaelm Exp $
2
3PortSystem 1.0
4name                    rpm
5version                 4.0.4
6platforms               darwin
7categories              sysutils archivers
8maintainers             ssen@opendarwin.org
9description             RedHat Package Manager
10
11master_sites            ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/
12checksums               md5 b0c3093d2f0d850760e59ac1db9bf152
13
14depends_lib             lib:libbz2.1.0:bzip2 lib:libiconv.2:libiconv
15
16configure.args          --disable-nls --with-included-gettext --with-glob --with-libiconv-prefix=${prefix}
17
18variant darwin {
19        patchfiles-append \
20                patch-db3-configure.diff        patch-rpmheader.diff \
21                patch-dump.diff                 patch-rpmioc.diff \
22                patch-dumpdb.diff               patch-rpmioh.diff \
23                patch-lib-signature.diff        patch-rpmlead.diff \
24                patch-macros-in.diff            patch-rpmqv.diff \
25                patch-rpm2cpio.diff             patch-rpmsignature.diff \
26                patch-rpmarchive.diff           patch-systemh.diff \
27                patch-rpmrc.diff
28
29        configure.args-append --disable-optimized --disable-aio \
30                --without-python
31
32        configure.env   LDFLAGS="-L${prefix}/lib -L${workpath}/librt" CFLAGS="-I${prefix}/include -no-cpp-precomp" CC="gcc -flat_namespace"
33
34        pre-build {
35                system "mkdir -p ${workpath}/librt"
36                system "ln -sf /usr/lib/libSystem.B.dylib \
37                                ${workpath}/librt/librt.dylib"
38        }
39
40}
41
Note: See TracBrowser for help on using the repository browser.