source: trunk/dports/devel/plib/Portfile

Last change on this file was 114328, checked in by ryandesign@…, 4 years ago

use eq and ne instead of == and != when comparing ${os.arch}, ${configure.build_arch}, ${build_arch}, and some port-specific variables for referring to architectures

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 114328 2013-12-05 10:21:52Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                plib
7version             1.8.5
8revision            1
9categories          devel graphics games
10license             LGPL
11maintainers         nomaintainer
12description         A Suite of Portable Game Libraries
13long_description    \
14    PLIB includes sound effects, music, a complete 3D engine, font \
15    rendering, a GUI, networking, 3D math library and a collection of handy \
16    utility functions.  All are 100% portable across nearly all modern \
17    computing platforms.
18
19platforms           darwin
20
21homepage            http://plib.sourceforge.net/
22master_sites        ${homepage}dist/
23
24checksums           md5 47a6fbf63668c1eed631024038b2ea90 \
25                    sha1 c2cf7e3e1e58f7b63dae4bb21e4fa82c3e4d4cfc \
26                    rmd160 55019bf3758ec2542804d8e3994f4bed5a188e60
27
28patchfiles          patch-src_js_jsMacOSX.cxx.diff \
29                    patch-src_pui_puGLUT.h.diff \
30                    patch-src_ssg_ssgLoadFLT.cxx.diff
31
32platform darwin 8 {
33    patchfiles-delete   patch-src_ssg_ssgLoadFLT.cxx.diff
34}
35
36configure.args      --with-x
37if {${build_arch} eq "x86_64" || ${build_arch} eq "ppc64"} {
38    # these components currently use carbon
39    configure.args-append --disable-sl --disable-pw
40}
41
42post-destroot {
43    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
44    xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog INSTALL \
45        KNOWN_BUGS NOTICE README TODO-1.6 TODO-2.0 TODO_AFTER135 \
46        ${destroot}${prefix}/share/doc/${name}
47}
48
49livecheck.type      regex
50livecheck.url       ${homepage}download.html
51livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.