source: trunk/dports/x11/xteddy/Portfile

Last change on this file was 97480, checked in by ryandesign@…, 5 years ago

xteddy: add pkgconfig dependency

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
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: Portfile 97480 2012-09-07 08:51:26Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                xteddy
7version             2.2
8categories          x11
9platforms           darwin
10maintainers         nomaintainer
11license             GPL-2
12
13description         A cuddlesome teddy for the X desktop
14
15long_description    This is _the_ toy for the X desktop, a must for all plush \
16                    lovers: a very, very cuddlesome teddy.
17
18homepage            http://www.itn.liu.se/~stegu/xteddy/
19master_sites        ${homepage} freebsd
20
21checksums           rmd160  8395ce8c9a1af208ec44bd9a773fda3b5d1c6df2 \
22                    sha256  d8885a1e2e08787cb469857a9404619cadab9bddcae7fa398a565d53633291e2
23
24depends_build       port:pkgconfig
25
26depends_lib         port:imlib2 \
27                    port:xorg-libXext \
28                    port:zlib
29
30patchfiles          patch-Makefile.in.diff \
31                    patch-xteddy.6.diff \
32                    patch-xteddy.c.diff \
33                    patch-xteddy_test.diff \
34                    patch-xtoys.diff
35
36post-patch {
37    reinplace "s|__PREFIX__|${prefix}|g" \
38                    ${worksrcpath}/xteddy.6 \
39                    ${worksrcpath}/xteddy.c \
40                    ${worksrcpath}/xteddy_test \
41                    ${worksrcpath}/xtoys
42}
43
44livecheck.type      regex
45livecheck.regex     ${name}-(\[0-9.\]+)
Note: See TracBrowser for help on using the repository browser.