8b17f2b447
Memory corruption vulnerability when reading XWD files ok giovanni@ (MAINTAINER)
88 lines
2.4 KiB
Makefile
88 lines
2.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.84 2012/11/27 12:12:41 jasper Exp $
|
|
|
|
COMMENT= GNU Image Manipulation Program
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
DISTNAME= gimp-2.8.2
|
|
REVISION= 0
|
|
|
|
SHARED_LIBS+= gimp-2.0 272.0 # 800.0
|
|
SHARED_LIBS+= gimpbase-2.0 272.0 # 800.0
|
|
SHARED_LIBS+= gimpcolor-2.0 272.0 # 800.0
|
|
SHARED_LIBS+= gimpconfig-2.0 272.0 # 800.0
|
|
SHARED_LIBS+= gimpmath-2.0 272.0 # 800.0
|
|
SHARED_LIBS+= gimpmodule-2.0 272.0 # 800.0
|
|
SHARED_LIBS+= gimpthumb-2.0 272.0 # 800.0
|
|
SHARED_LIBS+= gimpui-2.0 272.0 # 800.0
|
|
SHARED_LIBS+= gimpwidgets-2.0 272.0 # 800.0
|
|
|
|
CATEGORIES= graphics
|
|
MAINTAINER= Giovanni Bechis <giovanni@openbsd.org>
|
|
|
|
DIR= gimp/v2.8
|
|
MASTER_SITES= ftp://ftp.gimp.org/pub/${DIR}/ \
|
|
ftp://ftp.sunet.se/pub/gnu/${DIR}/ \
|
|
ftp://ftp.cs.umn.edu/pub/gimp/pub/${DIR}/
|
|
|
|
HOMEPAGE= http://www.gimp.org/
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
BUILD_DEPENDS= textproc/libxslt \
|
|
x11/py-gtk2
|
|
RUN_DEPENDS= devel/desktop-file-utils \
|
|
x11/gtk+2,-guic \
|
|
x11/py-gtk2
|
|
LIB_DEPENDS= x11/gtk+2 \
|
|
graphics/aalib \
|
|
x11/dbus-glib \
|
|
graphics/libexif \
|
|
graphics/libmng \
|
|
graphics/tiff \
|
|
graphics/libwmf \
|
|
print/ghostscript/gnu \
|
|
print/poppler \
|
|
graphics/gegl>=0.2 \
|
|
graphics/openjpeg \
|
|
net/curl
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= GL ICE SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp \
|
|
Xext Xfixes Xi Xinerama Xmu Xpm Xrandr Xrender Xt Xxf86vm \
|
|
aa asn1 atk-1.0 babl-0.1 bz2 c cairo croco-0.6 crypto \
|
|
cups cupsimage curl dbus-1 dbus-glib-1 drm execinfo \
|
|
exif expat ffi fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 \
|
|
gegl-0.2 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gs \
|
|
gssapi gthread-2.0 gtk-x11-2.0 harfbuzz icudata icule \
|
|
icuuc idn ijs jasper jbig2dec jpeg krb5 lcms lcms2 \
|
|
m mng ncurses openjpeg pango-1.0 pangocairo-1.0 pangoft2-1.0 \
|
|
pcre pixman-1 png poppler poppler-glib pthread pthread-stubs \
|
|
rsvg-2 ssl stdc++ tiff wmf-0.2 wmflite-0.2 xcb xcb-render \
|
|
xcb-shm xml2 z
|
|
|
|
MODULES= devel/gettext \
|
|
textproc/intltool \
|
|
lang/python
|
|
|
|
USE_GMAKE= Yes
|
|
USE_LIBTOOL= Yes
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+=--enable-gimp-console \
|
|
--with-libcurl \
|
|
--without-gvfs \
|
|
--without-webkit
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng -I${LOCALBASE}/include -I${X11BASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
|
|
|
post-install:
|
|
@rm ${PREFIX}/lib/gimp/2.0/modules/*.{a,la}
|
|
@rm ${PREFIX}/lib/gimp/2.0/python/*.{a,la}
|
|
|
|
.include <bsd.port.mk>
|