Changeset 9251 for trunk/dports


Ignore:
Timestamp:
Nov 11, 2004, 2:59:32 PM (19 years ago)
Author:
olegb
Message:

Bug:
Submitted by: mww@
Reviewed by: olegb@
Approved by: mww@
Obtained from:
fix the install_name of liballeg-4.1.15.dylib

thank Markus !

Location:
trunk/dports/devel/allegro
Files:
2 added
1 edited

Legend:

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

    r8939 r9251  
    1 # $Id: Portfile,v 1.1 2004/10/25 20:46:36 olegb Exp $
     1# $Id: Portfile,v 1.2 2004/11/11 14:59:30 olegb Exp $
    22PortSystem 1.0
    33name            allegro
    44version         4.1.15
     5revision        1
    56description     A game programming library for C/C++ developers.
    67long_description        Allegro is a game programming library for \
     
    1415checksums       md5 e125d7665d359f2392b6330c741bdbc6
    1516depends_lib     lib:libX11:XFree86
    16 use_configure   no
    17 pre-configure   {
    18         system "cd ${worksrcpath} && chmod +x fix.sh && ./fix.sh macosx"
    19 
    20         reinplace "s|INSTALLDIR = /usr/local|INSTALLDIR = ${destroot}${prefix}|g" \
    21                 ${worksrcpath}/makefile.osx
    22         reinplace "s|MAN_DIR = /usr/local/man|MAN_DIR = ${destroot}${prefix}/share/man|g" \
    23                 ${worksrcpath}/makefile.osx
     17patchfiles      patch-makefile.osx
     18configure       {
     19        system "cd ${worksrcpath} && sh fix.sh macosx"
    2420}
    25 build.target    {}
     21build.target
     22build.args      PREFIX=${prefix}
     23destroot.target install install-man
     24destroot.args   PREFIX=${prefix}
    2625post-destroot   {
    27         system "cd ${worksrcpath} && make install-man"
    2826        file delete ${destroot}${prefix}/share/man/man3/RGB_MAP.3
    2927        file delete ${destroot}${prefix}/share/man/man3/FONT.3
Note: See TracChangeset for help on using the changeset viewer.