| @@ -1,33 +1,34 @@ | | | @@ -1,33 +1,34 @@ |
1 | # $NetBSD: Makefile,v 1.32 2010/05/17 07:53:29 obache Exp $ | | 1 | # $NetBSD: Makefile,v 1.33 2010/06/05 12:36:08 wiz Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= GraphicsMagick-1.3.12 | | 4 | DISTNAME= GraphicsMagick-1.3.12 |
5 | CATEGORIES= graphics | | 5 | CATEGORIES= graphics |
6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=graphicsmagick/} \ | | 6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=graphicsmagick/} \ |
7 | ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/1.3/ | | 7 | ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/1.3/ |
8 | | | 8 | |
9 | MAINTAINER= obache@NetBSD.org | | 9 | MAINTAINER= obache@NetBSD.org |
10 | HOMEPAGE= http://www.graphicsmagick.org/ | | 10 | HOMEPAGE= http://www.graphicsmagick.org/ |
11 | COMMENT= X application for displaying and manipulating images | | 11 | COMMENT= X application for displaying and manipulating images |
12 | #LICENSE= mit AND # see ${WRKSRC}/Copyright.txt | | 12 | #LICENSE= mit AND # see ${WRKSRC}/Copyright.txt |
13 | | | 13 | |
14 | PKG_DESTDIR_SUPPORT= user-destdir | | 14 | PKG_DESTDIR_SUPPORT= user-destdir |
15 | | | 15 | |
16 | USE_LANGUAGES= c c++ | | 16 | USE_LANGUAGES= c c++ |
17 | USE_LIBTOOL= yes | | 17 | USE_LIBTOOL= yes |
18 | USE_TOOLS+= gmake pkg-config gs | | 18 | USE_TOOLS+= gmake pkg-config gs |
19 | USE_FEATURES= vsnprintf # optional but recommended for security | | 19 | USE_FEATURES= vsnprintf # optional but recommended for security |
20 | GNU_CONFIGURE= yes | | 20 | GNU_CONFIGURE= yes |
| | | 21 | CONFIGURE_ARGS+= --with-gs-font-dir=${LOCALBASE}/share/ghostscript/fonts/ |
21 | | | 22 | |
22 | PKGCONFIG_OVERRIDE+= magick/GraphicsMagick.pc.in \ | | 23 | PKGCONFIG_OVERRIDE+= magick/GraphicsMagick.pc.in \ |
23 | wand/GraphicsMagickWand.pc.in \ | | 24 | wand/GraphicsMagickWand.pc.in \ |
24 | Magick++/lib/GraphicsMagick++.pc.in | | 25 | Magick++/lib/GraphicsMagick++.pc.in |
25 | | | 26 | |
26 | CONFIGURE_ARGS+= --without-perl | | 27 | CONFIGURE_ARGS+= --without-perl |
27 | | | 28 | |
28 | TEST_TARGET= check | | 29 | TEST_TARGET= check |
29 | | | 30 | |
30 | .include "../../archivers/bzip2/buildlink3.mk" | | 31 | .include "../../archivers/bzip2/buildlink3.mk" |
31 | .include "../../devel/zlib/buildlink3.mk" | | 32 | .include "../../devel/zlib/buildlink3.mk" |
32 | .include "../../graphics/freetype2/buildlink3.mk" | | 33 | .include "../../graphics/freetype2/buildlink3.mk" |
33 | .include "../../graphics/jpeg/buildlink3.mk" | | 34 | .include "../../graphics/jpeg/buildlink3.mk" |