source: trunk/dports/perl/p5-sdl_perl/Portfile @ 21494

Last change on this file since 21494 was 21494, checked in by eridius@…, 13 years ago

Massive update to svn properties on files:
All patchfiles have svn:eol-style removed.
All files that are not in fact able to be executed have svn:executable removed
All binary files have svn:eol-style removed (and are probably corrupt)
All binary files have svn:mime-type set to application/octet-stream
All files which are not patchfiles or binary files have svn:eol-style set to native
All Portfiles have svn:eol-style set to native and svn:executable removed

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1PortSystem 1.0
2PortGroup perl5 1.0
3
4perl5.setup         SDL_Perl 2.1.3
5maintainers         sethk@meowfishies.com
6categories-append   devel
7description         Perl bindings for the Simple DirectMedia Layer
8long_description    ${description}
9homepage            http://sdl.perl.org/
10master_sites        http://search.cpan.org/CPAN/authors/id/D/DG/DGOEHRIG/
11checksums           md5 6ce26e1b710ce52def4ec22637cd5176 \
12                    sha1 9c11cd7e4356f9b254cd9e3a2f993b1751a21552 \
13                    rmd160 26a4d317d9a5761fc893b732f2236eaad8d12b88
14platforms           darwin
15patchfiles          patch-make-lib-SDL-Build-Darwin.pm patch-src-SDL.xs \
16                    patch-test-testgfxprim.pl
17
18depends_lib-append  port:p5-module-build \
19                    port:libsdl-framework
20
21variant image {
22    depends_lib-append  port:libsdl_image-framework
23}
24
25variant mixer {
26    depends_lib-append  port:libsdl_mixer-framework
27}
28
29variant net {
30    depends_lib-append  port:libsdl_net-framework
31}
32
33variant ttf {
34    depends_lib-append  port:libsdl_ttf-framework
35}
36
37variant gfx {
38    depends_lib-append  port:libsdl_gfx-framework
39}
40
41default_variants    +image +mixer +net +ttf +gfx
42
43configure.cmd       ${perl5.bin}
44configure.pre_args  Build.PL
45configure.args      'Build Build' installdirs=vendor
46
47build.cmd           ${perl5.bin}
48build.pre_args      Build
49build.args          build
50
51# Work around build system problem:
52post-build {
53    file rename ${worksrcpath}/blib/arch/auto/src/SDL \
54            ${worksrcpath}/blib/arch/auto/
55    file rename ${worksrcpath}/blib/arch/auto/src/SDL_perl \
56            ${worksrcpath}/blib/arch/auto/
57    system "rmdir ${worksrcpath}/blib/arch/auto/src"
58}
59
60test.pre_args       Build
61
62destroot.cmd        ${perl5.bin}
63destroot.pre_args   Build
64destroot.args       install
65destroot.destdir    destdir=${destroot}
Note: See TracBrowser for help on using the repository browser.