source: trunk/dports/graphics/libungif/Portfile @ 3173

Last change on this file since 3173 was 3173, checked in by jkh, 17 years ago

Mass-merge of destroot target changes. Before committing this, I also
laid down a PRE_DESTROOT_TARGET so we can easily compare the before and
after photos (or, in extremis, revert this change). I doubt that will be
necessary, however, since things appear to be working quite well with this
change and it's better to do it sooner rather than later since it changes the
rules about what commands/variables to use in new ports.

Approved by: fkr

  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1# $Id: Portfile,v 1.15 2003/08/05 09:29:10 jkh Exp $
2
3PortSystem 1.0
4name            libungif
5version         4.1.0b1
6categories      graphics
7maintainers     eric@opendarwin.org
8description     Tools and library routines for working with GIF images
9homepage        http://prtr-13.ucsc.edu/~badger/software/libungif/
10platforms       darwin
11
12long_description GIF loading and saving shared library.  (Saving \
13                 uses an uncompressed gif algorithm that does not use \
14                 LZW compression.)
15
16master_sites    ftp://ftp.ayamura.org/pub/graphics/ \
17                ftp://ftp.FreeBSD.org/pub/FreeBSD/distfiles/ \
18                http://distfiles.opendarwin.org/:lt
19
20set filename    ${portname}-${portversion}${extract.sufx}
21distfiles       ${filename} ltconfig13:lt ltmain13:lt
22extract.only    ${filename}
23
24checksums       ${filename} md5 20d96eb90cf818a1da093614c44ad3e5 \
25                ltconfig13 md5 ea53f42a550c9f9e653758a8ed91574e \
26                ltmain13 md5 e094ae92724c4015dbab97de151c2525
27
28patchfiles      patch-config.guess patch-config.sub patch-qprintf.c
29
30post-patch      { system "cp ${distpath}/ltconfig13 ${worksrcpath}/ltconfig"
31                  system "cp ${distpath}/ltmain13 ${worksrcpath}/ltmain.sh" }
32
33configure.args  --with-x=no
34variant x11     { configure.args {} }
35
36post-destroot   { system "rm ${destroot}${prefix}/lib/libungif.a"
37                  system "rm ${destroot}${prefix}/lib/libungif.la" }
Note: See TracBrowser for help on using the repository browser.