79 lines
2.0 KiB
Makefile
Raw Normal View History

2007-11-13 17:10:25 +00:00
# $OpenBSD: Makefile,v 1.27 2007/11/13 17:10:25 steven Exp $
2002-07-28 21:55:10 +00:00
COMMENT= GNU Image Manipulation Program
2002-07-28 21:55:10 +00:00
DISTNAME= gimp-2.2.17
2007-11-13 17:10:25 +00:00
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= gimp-2.0 200.17 \
gimpbase-2.0 200.17 \
gimpcolor-2.0 200.17 \
gimpmath-2.0 200.17 \
gimpmodule-2.0 200.17 \
gimpthumb-2.0 200.17 \
gimpui-2.0 200.17 \
gimpwidgets-2.0 200.17
2005-12-27 18:08:45 +00:00
2002-07-28 21:55:10 +00:00
CATEGORIES= graphics
DIR= gimp/v2.2
2002-07-28 21:55:10 +00:00
MASTER_SITES= ftp://ftp.gimp.org/pub/${DIR}/ \
ftp://ftp.sunet.se/pub/gnu/${DIR}/ \
ftp://ftp.cs.umn.edu/pub/${DIR}/ \
ftp://ftp.funet.fi/pub/sci/graphics/packages/gimp/${DIR}/
2002-07-28 21:55:10 +00:00
HOMEPAGE= http://www.gimp.org/
2006-12-16 12:22:32 +00:00
BUILD_DEPENDS= :p5-XML-Parser-*:textproc/p5-XML-Parser
RUN_DEPENDS= :wget-*:net/wget
2006-09-18 11:50:39 +00:00
LIB_DEPENDS= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
2006-08-03 12:43:20 +00:00
aa.>=1.3::graphics/aalib \
art_lgpl_2.>=5::graphics/libart \
exif::graphics/libexif \
mng::graphics/libmng \
2006-08-03 12:43:20 +00:00
tiff.>=35::graphics/tiff \
wmf.>=6,wmflite.>=6::graphics/libwmf
2002-07-28 21:55:10 +00:00
2003-12-27 00:26:17 +00:00
# GPL
2002-07-28 21:55:10 +00:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2006-09-18 11:50:39 +00:00
WANTLIB= ICE SM X11 Xext Xmu Xpm Xrender Xt atk-1.0 c \
2007-11-13 17:10:25 +00:00
Xcomposite Xdamage pcre \
2006-09-18 11:50:39 +00:00
fontconfig freetype glib-2.0 gmodule-2.0 \
gobject-2.0 jpeg.>=62 lcms.>=1 m pango-1.0 \
pangocairo-1.0 pangoft2-1.0 png.>=4 \
pthread ncurses xml2 z cairo glitz
2007-05-10 19:29:32 +00:00
WANTLIB += Xau Xcursor Xdmcp Xfixes Xi Xinerama Xrandr expat
MODULES= devel/gettext
2003-12-27 00:26:17 +00:00
2002-07-28 21:55:10 +00:00
USE_X11= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
2007-07-01 15:42:17 +00:00
AUTOCONF_VERSION= 2.61
CONFIGURE_STYLE= autoconf
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
2005-11-04 07:36:10 +00:00
CONFIGURE_ARGS+= --disable-print --without-gtkhtml2 --without-librsvg \
--disable-sse
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng -I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
FLAVORS= altivec
FLAVOR?=
.if ${FLAVOR:L} == "altivec"
ONLY_FOR_ARCHS= powerpc
CONFIGURE_ARGS+= --enable-altivec
.else
CONFIGURE_ARGS+= --disable-altivec
.endif
.if ${MACHINE_ARCH} == "i386" || ${MACHINE} == "amd64"
CONFIGURE_ARGS+= --enable-mmx
.endif
2002-07-28 21:55:10 +00:00
.include <bsd.port.mk>