1 # $NetBSD: Makefile,v 1.228 2013/02/16 11:18:12 wiz Exp $
5 MASTER_SITES
= ftp
://ftp.gimp.org
/pub
/gimp
/v
${PKGVERSION_NOREV
:R
}/ \
6 ${MASTER_SITE_GNU
:=gimp
/v
${PKGVERSION_NOREV
:R
}/} \
7 ftp
://ftp.gwdg.de
/pub
/misc
/grafik
/gimp
/gimp
/v
${PKGVERSION_NOREV
:R
}/
10 MAINTAINER
= adam@NetBSD.org
11 HOMEPAGE
= http
://www.gimp.org
/
12 COMMENT
= The GNU image manipulation program
13 LICENSE
= gnu-lgpl-v2.1 AND gnu-gpl-v2
15 BUILD_DEPENDS
+= p5-XML-Parser
>=2.31nb1
:..
/..
/textproc
/p5-XML-Parser
16 CONFLICTS
+= gimp
<=1.2.3
20 USE_TOOLS
+= gmake intltool msgfmt pkg-config
22 CONFIGURE_ARGS
+= --disable-perl
23 CONFIGURE_ARGS
+= --disable-python
24 CONFIGURE_ARGS
+= --sysconfdir
=${PKG_SYSCONFDIR}
25 CONFIGURE_ARGS
+= --without-linux-input
26 CONFIGURE_ARGS
+= --without-mac-twain
28 PKG_SYSCONFSUBDIR
= gimp
/2.0
29 PKGCONFIG_OVERRIDE
= gimp.
pc.in
30 UNLIMIT_RESOURCES
+= datasize
32 .
include "../../mk/bsd.prefs.mk"
34 EGDIR
= ${PREFIX}/share
/examples
/gimp-2.0
35 .for f in controllerrc gimprc gtkrc menurc sessionrc templaterc unitrc
36 CONF_FILES
+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
39 # Ensure we export symbols in the linked shared object.
40 LDFLAGS
+= ${EXPORT_SYMBOLS_LDFLAGS}
44 BUILDLINK_API_DEPENDS.fontconfig
+= fontconfig
>=2.2.0
45 BUILDLINK_API_DEPENDS.lcms
+= lcms
>=1.12
49 .
include "../../sysutils/desktop-file-utils/desktopdb.mk"
50 .
include "../../databases/shared-mime-info/mimedb.mk"
51 .
include "../../devel/gettext-lib/buildlink3.mk"
52 .
include "../../fonts/fontconfig/buildlink3.mk"
53 .
include "../../graphics/hicolor-icon-theme/buildlink3.mk"
54 .
include "../../graphics/babl/buildlink3.mk"
55 .
include "../../graphics/gegl/buildlink3.mk"
56 .
include "../../mk/jpeg.buildlink3.mk"
57 .
include "../../graphics/lcms/buildlink3.mk"
58 .
include "../../graphics/libart/buildlink3.mk"
59 .
include "../../graphics/libexif/buildlink3.mk"
60 .
include "../../graphics/png/buildlink3.mk"
61 .
include "../../graphics/tiff/buildlink3.mk"
62 .
include "../../graphics/libwmf/buildlink3.mk"
63 .
include "../../x11/gtk2/buildlink3.mk"
64 .if
!empty
(PKG_BUILD_OPTIONS.gtk2
:Mx11
)
66 .
include "../../x11/libICE/buildlink3.mk"
67 .
include "../../x11/libSM/buildlink3.mk"
68 .
include "../../x11/libXmu/buildlink3.mk"
69 .
include "../../x11/libXpm/buildlink3.mk"
71 .
include "../../mk/pthread.buildlink3.mk"
72 .
include "../../mk/bsd.pkg.mk"