55 lines
1.5 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.49 2019/07/12 20:44:09 sthen Exp $
COMMENT= gtk-based git repository viewer
GNOME_VERSION= 0.7
GNOME_PROJECT= giggle
2019-07-05 11:52:59 +00:00
REVISION= 10
CATEGORIES= devel x11
2011-05-22 17:02:35 +00:00
SHARED_LIBS += giggle 0.0 # 0.0
SHARED_LIBS += giggle-git 0.0 # 0.0
# GPLv2
PERMIT_PACKAGE= Yes
WANTLIB = X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama Xrandr
2019-07-05 11:52:59 +00:00
WANTLIB += Xrender atk-1.0 atk-bridge-2.0 c cairo
WANTLIB += cairo-gobject epoxy expat ffi fontconfig freetype
2015-05-05 17:00:16 +00:00
WANTLIB += gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
WANTLIB += graphite2 gthread-2.0 gtk-3 gtksourceview-3.0 harfbuzz iconv
WANTLIB += intl lzma m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre
WANTLIB += pixman-1 png pthread vte-2.91 xcb xcb-render xcb-shm xml2 z
2019-07-05 11:52:59 +00:00
WANTLIB += fribidi gmp gnutls hogweed idn2 nettle p11-kit pcre2-8
WANTLIB += tasn1 unistring
2015-05-05 17:00:16 +00:00
MODULES= x11/gnome
2010-11-15 19:45:56 +00:00
RUN_DEPENDS= devel/git
BUILD_DEPENDS+= devel/git
LIB_DEPENDS= x11/gtksourceview3 devel/vte3
MODGNOME_TOOLS += desktop-file-utils gtk-update-icon-cache yelp
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --disable-evolution-data-server
SUBST_VARS+= GNOME_VERSION
# Remove a few compiler options GCC 4.2.1 doesn't understand.
pre-configure:
perl -pi -e 's,-Wclobbered,,g;' \
-e 's,-Wempty-body,,g;' \
-e 's,-Wabi,,g;' \
-e 's,-Wdeprecated ,,g;' \
-e 's,-Wignored-qualifiers,,g;' \
-e 's,-Wtype-limits,,g;' \
-e 's,-Wmissing-parameter-type,,g' \
${WRKSRC}/configure
2013-03-31 07:00:21 +00:00
post-install:
rm ${PREFIX}/lib/giggle/plugins/${GNOME_VERSION}/*.{a,la}
.include <bsd.port.mk>