Make this Makefile readable by a huma being.

This commit is contained in:
ajacoutot 2015-04-03 22:48:15 +00:00
parent 3b367d16c4
commit eea888e1fe

View File

@ -1,53 +1,53 @@
# $OpenBSD: Makefile,v 1.47 2014/09/13 16:36:53 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.48 2015/04/03 22:48:15 ajacoutot Exp $
SHARED_ONLY= Yes
SHARED_ONLY= Yes
COMMENT-main= graph based image processing framework
COMMENT-plugins=gegl plugins
COMMENT-main= graph based image processing framework
COMMENT-plugins= gegl plugins
API_VERSION= 0.2
V= ${API_VERSION}.0
DISTNAME= gegl-${V}
CATEGORIES= graphics devel
API_VERSION= 0.2
SUBST_VARS= API_VERSION
PKGNAME-main= gegl-${V}
PKGNAME-plugins=gegl-plugins-${V}
V= ${API_VERSION}.0
DISTNAME= gegl-${V}
EXTRACT_SUFX= .tar.bz2
REVISION-main= 2
REVISION-plugins= 2
CATEGORIES= graphics devel
PKGNAME-main= gegl-${V}
PKGNAME-plugins= gegl-plugins-${V}
REVISION-main= 3
REVISION-plugins= 3
SHARED_LIBS += gegl-${API_VERSION} 0.0 # 199.1
EXTRACT_SUFX= .tar.bz2
HOMEPAGE= http://gegl.org/
HOMEPAGE= http://gegl.org/
# GPLv3/LGPLv3
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= http://download.gimp.org/pub/gegl/${V:R}/
MASTER_SITES= http://download.gimp.org/pub/gegl/${V:R}/
MULTI_PACKAGES= -main -plugins
MULTI_PACKAGES= -main -plugins
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
WANTLIB += gthread-2.0 m pcre z execinfo ffi
WANTLIB += ffi gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
WANTLIB += gthread-2.0 m pcre z
MODULES= devel/gettext \
textproc/intltool
MODULES= devel/gettext \
textproc/intltool
USE_GMAKE= Yes
SUBST_VARS= API_VERSION
USE_GMAKE= Yes
WANTLIB-main += ${WANTLIB}
WANTLIB-main += X11 Xrender c cairo croco-0.6 expat fontconfig
WANTLIB-main += freetype gdk_pixbuf-2.0 jpeg pango-1.0
WANTLIB-main += freetype gdk_pixbuf-2.0 jpeg pango-1.0 lzma
WANTLIB-main += pangocairo-1.0 pangoft2-1.0 pixman-1 png pthread
WANTLIB-main += pthread-stubs xcb xml2 xcb-render rsvg-2 babl-0.1
WANTLIB-main += Xext jasper xcb-shm graphite2 harfbuzz
BUILD_DEPENDS= graphics/exiv2
LIB_DEPENDS= devel/libexecinfo
BUILD_DEPENDS= graphics/exiv2
LIB_DEPENDS-main= ${LIB_DEPENDS} \
x11/gnome/librsvg \
@ -58,41 +58,40 @@ WANTLIB-plugins += gsm mp3lame ogg orc-0.4 IlmImf avutil bz2
WANTLIB-plugins += schroedinger-1.0 speex theoradec theoraenc
WANTLIB-plugins += vorbis vorbisenc x264 avcodec avformat vpx
WANTLIB-plugins += Half Iex IlmThread Imath xvidcore
WANTLIB-plugins += crypto opus pthread stdc++ ssl
WANTLIB-plugins += crypto opus pthread stdc++ ssl swresample x265
RUN_DEPENDS-plugins= ${BUILD_PKGPATH},-main
LIB_DEPENDS-plugins= ${LIB_DEPENDS} \
graphics/ilmbase \
graphics/openexr \
graphics/ffmpeg>=20130319
graphics/ffmpeg
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lexecinfo" \
ac_cv_path_ASCIIDOC="no" \
ac_cv_path_W3M="no" \
ac_cv_path_ENSCRIPT="no" \
ac_cv_prog_RUBY="" \
ac_cv_path_DOT="no"
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--disable-docs \
--without-umfpack \
--without-sdl \
--without-lua \
--without-libopenraw \
--without-graphviz \
--without-libv4l \
--without-libspiro
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
ac_cv_path_ASCIIDOC="no" \
ac_cv_path_W3M="no" \
ac_cv_path_ENSCRIPT="no" \
ac_cv_prog_RUBY="" \
ac_cv_path_DOT="no"
# XXX https://bugzilla.gnome.org/show_bug.cgi?id=673580
#BUILD_DEPENDS += lang/vala \
# devel/gobject-introspection
CONFIGURE_ARGS += --without-vala \
--disable-introspection
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-docs \
--without-umfpack \
--without-sdl \
--without-lua \
--without-libopenraw \
--without-graphviz \
--without-libv4l \
--without-libspiro
# be safe until proven stable
CONFIGURE_ARGS+= --enable-mmx \
--disable-sse
CONFIGURE_ARGS += --enable-mmx \
--disable-sse
# https://bugzilla.gnome.org/show_bug.cgi?id=673580
CONFIGURE_ARGS += --without-vala \
--disable-introspection
post-install:
rm ${PREFIX}/lib/gegl-0.2/*.{a,la}