Changeset 12015


Ignore:
Timestamp:
Apr 25, 2005, 1:34:16 PM (15 years ago)
Author:
mww
Message:

Bug: #2951
Submitted by: mww@
Reviewed by: leimy@

add dylib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/mpfr/Portfile

    r11845 r12015  
    1 # $Id: Portfile,v 1.4 2005/04/18 07:20:16 jmpp Exp $
     1# $Id: Portfile,v 1.5 2005/04/25 13:34:16 mww Exp $
    22
    33PortSystem 1.0
     
    55name            mpfr
    66version         2.1.1
     7revision        1
    78categories      devel math
    89platforms       darwin
     
    1920master_sites    http://www.mpfr.org/mpfr-current
    2021checksums       md5 b7eb5932ab86c78d13ed0569ad26af38
     22patchfiles      patch-Makefile.in
    2123
    2224depends_lib     lib:libgmp.3:gmp
    2325
    2426configure.args  --infodir=\\\${prefix}/share/info --with-gmp=${prefix}
     27configure.env   CFLAGS="-fno-common" LDFLAGS="-L${prefix}/lib"
     28
     29build.args      all libmpfr.${version}.dylib
    2530
    2631post-destroot   {
     
    2934                ${destroot}${prefix}/share/${name}
    3035                system "ranlib ${destroot}${prefix}/lib/libmpfr.a"
     36                xinstall -m 644 ${worksrcpath}/libmpfr.${version}.dylib \
     37                ${destroot}${prefix}/lib
     38                set ln "ln -s libmpfr.${version}.dylib"
     39                system "cd ${destroot}${prefix}/lib && ${ln} libmpfr.2.1.dylib && ${ln} libmpfr.2.dylib && ${ln} libmpfr.dylib"
    3140}
    3241
Note: See TracChangeset for help on using the changeset viewer.