Ticket #22888: Portfile

File Portfile, 1.3 KB (added by reid@…, 11 years ago)
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$
3
4PortSystem       1.0
5PortGroup        xcode 1.0
6name             cfxr
7version          0.1.5
8platforms        darwin
9categories       audio
10maintainers      nomaintainer
11description      A generator for simple sound effects.
12long_description A port of DrPetter's sfxr with a native Mac UI.  In DrPetter's words: \
13\
14                 Its original purpose was to provide a simple means of getting basic sound effects into a game for those people who were working hard to get their entries done within the 48 hours and didn't have time to spend looking for suitable ways of doing this.
15
16homepage         http://thirdcog.eu/apps/cfxr
17
18# version 0.1.5 plus some inconsequential changes
19fetch.type       svn
20svn.url          svn://nevyn.nu/ncoder/cfxr/trunk/
21svn.tag          501
22
23worksrcdir       trunk
24post-patch {
25        reinplace "s|/Library/Frameworks/SDL.framework|${frameworks_dir}/SDL.framework|g" ${worksrcpath}/${name}.xcodeproj/project.pbxproj
26}
27
28xcode.configuration     Release
29xcode.build.settings    FRAMEWORK_SEARCH_PATHS=${prefix}/Library/Frameworks
30xcode.destroot.settings FRAMEWORK_SEARCH_PATHS=${prefix}/Library/Frameworks
31
32use_configure    no
33
34depends_build    port:libsdl-framework
35
36livecheck.type   regex
37livecheck.url    ${homepage}
38livecheck.regex  ${name} (\\d.\\d.\\d)