2017-11-21 00:12:59 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.55 2017/11/21 00:12:59 naddy Exp $
|
2006-12-10 22:03:48 +00:00
|
|
|
|
2007-09-16 02:52:56 +00:00
|
|
|
COMMENT= small and lightweight IDE
|
2006-12-10 22:03:48 +00:00
|
|
|
|
2017-02-27 11:18:57 +00:00
|
|
|
DISTNAME = geany-1.29
|
2015-12-23 16:52:23 +00:00
|
|
|
SHARED_LIBS += geany 0.0 # 0.0
|
2017-11-21 00:12:59 +00:00
|
|
|
REVISION = 3
|
2009-12-22 15:31:26 +00:00
|
|
|
|
2006-12-10 22:03:48 +00:00
|
|
|
CATEGORIES= devel
|
2007-03-15 16:08:05 +00:00
|
|
|
|
2010-10-03 20:45:52 +00:00
|
|
|
HOMEPAGE= http://www.geany.org/
|
2006-12-10 22:03:48 +00:00
|
|
|
|
2010-10-03 20:45:52 +00:00
|
|
|
MAINTAINER= Jonathan Armani <armani@openbsd.org>
|
2006-12-10 22:03:48 +00:00
|
|
|
|
2007-10-12 09:44:21 +00:00
|
|
|
# GPL + Scintilla License
|
2006-12-10 22:03:48 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2009-09-04 11:38:31 +00:00
|
|
|
MASTER_SITES= http://download.geany.org/
|
2007-03-15 16:08:05 +00:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2017-11-21 00:12:59 +00:00
|
|
|
MODULES= textproc/intltool
|
2007-03-15 16:08:05 +00:00
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
2017-11-15 19:47:04 +00:00
|
|
|
WANTLIB += Xtst X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi
|
2017-02-27 11:18:57 +00:00
|
|
|
WANTLIB += Xinerama Xrandr Xrender atk-1.0 atk-bridge-2.0 atspi
|
|
|
|
WANTLIB += c cairo cairo-gobject dbus-1 epoxy expat ffi fontconfig
|
|
|
|
WANTLIB += freetype gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0
|
2017-11-21 00:12:59 +00:00
|
|
|
WANTLIB += gobject-2.0 graphite2 gthread-2.0 gtk-3 harfbuzz iconv intl m
|
2017-02-27 11:18:57 +00:00
|
|
|
WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
|
2017-10-23 17:10:37 +00:00
|
|
|
WANTLIB += png pthread ${COMPILER_LIBCXX} xcb xcb-render xcb-shm
|
2017-02-27 11:18:57 +00:00
|
|
|
WANTLIB += z
|
2006-12-10 22:03:48 +00:00
|
|
|
|
2017-02-27 11:18:57 +00:00
|
|
|
LIB_DEPENDS= x11/gtk+3
|
2011-09-23 09:25:33 +00:00
|
|
|
RUN_DEPENDS= devel/desktop-file-utils \
|
2017-02-27 11:18:57 +00:00
|
|
|
devel/vte3 \
|
2015-03-27 08:46:20 +00:00
|
|
|
x11/gtk+3,-guic
|
2006-12-10 22:03:48 +00:00
|
|
|
|
2015-12-23 16:52:23 +00:00
|
|
|
FAKE_FLAGS= doc_DATA="${WRKSRC}/README"
|
2013-04-08 22:28:04 +00:00
|
|
|
LIBTOOL_FLAGS = --tag=disable-static
|
|
|
|
|
2006-12-10 22:03:48 +00:00
|
|
|
CONFIGURE_STYLE=gnu
|
2015-12-23 16:52:23 +00:00
|
|
|
# Don't rebuild html/pdf docs, use whatever is included in the tarball
|
|
|
|
CONFIGURE_ARGS+=--enable-html-docs=no \
|
2016-02-02 03:47:34 +00:00
|
|
|
--enable-pdf-docs=no \
|
2017-02-27 11:18:57 +00:00
|
|
|
--enable-api-docs=no \
|
|
|
|
--enable-gtk3=yes
|
2007-10-12 09:44:21 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2006-12-10 22:03:48 +00:00
|
|
|
|
2017-02-27 11:18:57 +00:00
|
|
|
pre-configure:
|
|
|
|
sed -i "s,/bin/bash,/bin/sh," ${WRKSRC}/tests/ctags/runner.sh
|
2015-12-23 16:52:23 +00:00
|
|
|
|
2013-04-08 22:28:04 +00:00
|
|
|
post-install:
|
|
|
|
rm -f ${PREFIX}/lib/geany/*.la
|
2007-10-11 20:21:07 +00:00
|
|
|
|
2006-12-10 22:03:48 +00:00
|
|
|
.include <bsd.port.mk>
|