source: trunk/dports/archivers/webdec/Portfile @ 29070

Last change on this file since 29070 was 29070, checked in by nox@…, 12 years ago

webdec (closes #12682):

  • Added standard doc installation.
  • Added universal support.
  • Added sha1 and rmd160 checksums.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 29070 2007-09-14 12:55:55Z nox@macports.org $
2
3PortSystem  1.0
4
5name            webdec
6version         0.46.2
7revision    1
8categories      archivers
9maintainers     izmir@verizon.net
10description     Extract webshots pictures
11homepage        http://www.jamesbarford.net/webdec.php
12platforms       darwin
13
14long_description \
15                WebDec is a command line tool that extracts the JPEG images \
16                files from webshots .wbz,wbp and wbc files.
17
18master_sites    http://www.jamesbarford.net/downloads/
19
20checksums   md5 14341604153c4605ecf81162b09c67fa \
21            sha1 6f0d90f09627f023f71ddd30ca67edf3e62f673e \
22            rmd160 e49877e5e9598326b319f882a877af691156f03f
23
24configure {
25    reinplace -E "/^CFLAGS/s|\$| [join ${configure.cflags} " "]|" ${worksrcpath}/Makefile
26    reinplace -E "/^LDFLAGS/s|\$| [join ${configure.ldflags} " "]|" ${worksrcpath}/Makefile
27}
28
29destroot {
30    xinstall ${worksrcpath}/webdec ${destroot}${prefix}/bin
31
32    set docdir ${prefix}/share/doc/${name}-${version}
33    xinstall -d ${destroot}${docdir}
34    xinstall -m 0644 -W ${worksrcpath} GPL README ${destroot}${docdir}
35}
36
37variant debug {
38    post-configure {
39        reinplace -E "/^CFLAGS/s|\$| -DDEBUG|" ${worksrcpath}/Makefile
40    }
41}
42
Note: See TracBrowser for help on using the repository browser.