source: trunk/dports/graphics/esdl/Portfile @ 49863

Last change on this file since 49863 was 49863, checked in by ryandesign@…, 10 years ago

esdl: fix livecheck; closes #18040 (maintainer timeout)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 49863 2009-04-19 10:06:27Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    esdl
6version         0.96.0626
7categories              graphics devel erlang
8platforms               darwin
9maintainers             bfulgham@mac.com
10description             Erlang OpenGL/SDL API and Utilities
11long_description        ESDL is a library that gives you access to SDL and \
12                                OpenGL functionality from your Erlang program. \
13                                SDL handles 2D graphics, user events, and \
14                                audio, while OpenGL handles 3D graphics.
15
16homepage                http://esdl.sourceforge.net/
17master_sites            sourceforge
18distfiles               ${distname}.src.tar.gz
19checksums               md5 5007750ddd989319442e8e040db3b6dd
20
21depends_build           port:libsdl-framework port:erlang
22
23patchfiles              patch-c_src-Makefile.macOSX patch-c_src-esdl_driver.c patch-Makefile
24
25use_configure           no
26
27pre-build               {
28                        # Use Macintosh Makefile
29                        system "cd ${build.dir}/c_src && ln -sf Makefile.macOSX Makefile"
30}
31
32build.target           
33destroot.destdir                DPORTSDIR=${destroot}
34
35post-destroot           {
36        xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
37        xinstall -m 0644 -W ${worksrcpath} Readme Readme.MacOSX-Cocoa license.terms \
38                ${destroot}${prefix}/share/doc/${name}
39        file copy ${worksrcpath}/test ${destroot}${prefix}/share/doc/${name}/test
40}
41
42livecheck.regex         <title>${name} ${name}-(.*) released.*</title>
Note: See TracBrowser for help on using the repository browser.