source: trunk/dports/graphics/magicpoint/Portfile

Last change on this file was 115019, checked in by ryandesign@…, 4 years ago

revbump ports depending on libpng following libpng 1.6.x update (#41842)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 115019 2013-12-22 09:29:46Z ryandesign@macports.org $
2PortSystem 1.0
3
4name            magicpoint
5version         1.13a
6revision        1
7categories      graphics
8maintainers     nomaintainer
9license         BSD
10
11homepage        http://member.wide.ad.jp/wg/mgp/
12master_sites    ftp://sh.wide.ad.jp/WIDE/free-ware/mgp/ \
13                http://pkgs.fedoraproject.org/repo/pkgs/MagicPoint/${distfiles}/ebc403982956e918ab327c54a90b44e0/
14checksums       md5     ebc403982956e918ab327c54a90b44e0 \
15                rmd160  067d7dee3b90ec354975d9ad4ea0c0df48cca191 \
16                sha256  205e6752e3cb024bcce0583b43dafc9b89490c0016daa91d2486891edcf2cfc1
17platforms       macosx darwin
18description     An X11 based presentation tool.
19long_description Magic Point is an X11 based presentation tool. It \
20 is designed to make simple presentations easy while to make complicated \
21 presentations possible.  Its presentation file (whose suffix is \
22 typically .mgp) is just text so that you can create presentation \
23 files quickly with your favorite editor (e.g. Emacs, vi).
24
25depends_build   port:pkgconfig \
26                port:imake
27
28depends_lib     port:Xft2 \
29                port:xorg-libXmu \
30                port:libpng \
31                port:giflib
32
33patchfiles      patch-configure \
34                patch-default.mgp \
35                patch-image_gif.c \
36                patch-image_png.c
37
38universal_variant no
39
40# LOCALPREFIX= is for configure to find giflib.
41configure.env   LOCALPREFIX=${prefix}
42configure.args  --enable-gif
43
44post-configure {
45        # unusual port: uses not just autoconf but also Imake
46        system -W ${worksrcpath} "${prefix}/bin/xmkmf && make Makefiles"
47}
48
49destroot.target install install.man
50
51use_parallel_build no
52build.args-append \
53        EXTRA_LIBRARIES=-L${prefix}/lib
54
55destroot.destdir \
56        DESTDIR=${destroot} \
57        BINDIR=${prefix}/bin \
58        LIBDIR=${prefix}/lib/X11 \
59        FONTDIR=${prefix}/lib/X11/fonts \
60        MANPATH=${prefix}/share/man
61
62livecheck.type  regex
63livecheck.regex /${name}-(\[0-9a-z.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.