source: trunk/dports/devel/allegro/Portfile @ 8939

Last change on this file since 8939 was 8939, checked in by olegb, 16 years ago

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
new port:
allegro 4.1.15

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1# $Id: Portfile,v 1.1 2004/10/25 20:46:36 olegb Exp $
2PortSystem 1.0
3name            allegro
4version         4.1.15
5description     A game programming library for C/C++ developers.
6long_description        Allegro is a game programming library for \
7                        C/C++ developers distributed freely, supporting \
8                        many platforms.
9maintainers     olegb@opendarwin.org
10categories      devel games
11platforms       darwin
12homepage        http://www.talula.demon.co.uk/allegro/
13master_sites    sourceforge:alleg
14checksums       md5 e125d7665d359f2392b6330c741bdbc6
15depends_lib     lib:libX11:XFree86
16use_configure   no
17pre-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
24}
25build.target    {}
26post-destroot   {
27        system "cd ${worksrcpath} && make install-man"
28        file delete ${destroot}${prefix}/share/man/man3/RGB_MAP.3
29        file delete ${destroot}${prefix}/share/man/man3/FONT.3
30        file delete ${destroot}${prefix}/share/man/man3/COLOR_MAP.3
31}
Note: See TracBrowser for help on using the repository browser.