2010-10-11 04:11:24 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.26 2010/10/11 08:12:30 jasper Exp $
|
2009-05-30 22:33:08 -04:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
2006-12-10 17:03:48 -05:00
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT= small and lightweight IDE
|
2006-12-10 17:03:48 -05:00
|
|
|
|
2010-10-03 16:45:52 -04:00
|
|
|
DISTNAME= geany-0.19.1
|
2010-10-11 04:11:24 -04:00
|
|
|
REVISION= 0
|
2009-12-22 10:31:26 -05:00
|
|
|
|
2006-12-10 17:03:48 -05:00
|
|
|
CATEGORIES= devel
|
2007-03-15 12:08:05 -04:00
|
|
|
|
2010-10-03 16:45:52 -04:00
|
|
|
HOMEPAGE= http://www.geany.org/
|
2006-12-10 17:03:48 -05:00
|
|
|
|
2010-10-03 16:45:52 -04:00
|
|
|
MAINTAINER= Jonathan Armani <armani@openbsd.org>
|
2006-12-10 17:03:48 -05:00
|
|
|
|
2007-10-12 05:44:21 -04:00
|
|
|
# GPL + Scintilla License
|
2006-12-10 17:03:48 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2009-09-04 07:38:31 -04:00
|
|
|
MASTER_SITES= http://download.geany.org/
|
2007-03-15 12:08:05 -04:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2008-06-03 10:56:09 -04:00
|
|
|
MODULES= devel/gettext \
|
|
|
|
textproc/intltool
|
2007-03-15 12:08:05 -04:00
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
USE_GMAKE= Yes
|
2007-10-12 05:44:21 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2007-03-15 12:08:05 -04:00
|
|
|
|
2010-10-03 16:45:52 -04:00
|
|
|
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
|
|
|
|
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig
|
2010-10-11 04:11:24 -04:00
|
|
|
WANTLIB += freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0
|
2010-10-03 16:45:52 -04:00
|
|
|
WANTLIB += gmodule-2.0 gobject-2.0 gthread-2.0 gtk-x11-2.0 m pango-1.0
|
|
|
|
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread pthread-stubs
|
|
|
|
WANTLIB += stdc++ xcb xcb-render xcb-render-util z
|
2006-12-10 17:03:48 -05:00
|
|
|
|
2010-10-03 16:45:52 -04:00
|
|
|
|
|
|
|
LIB_DEPENDS= ::x11/gtk+2
|
2007-10-12 05:44:21 -04:00
|
|
|
RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils
|
2006-12-10 17:03:48 -05:00
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
2007-10-12 05:44:21 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
CONFIGURE_ARGS+=${CONFIGURE_SHARED} \
|
|
|
|
--enable-static
|
2006-12-10 17:03:48 -05:00
|
|
|
|
|
|
|
FLAVORS= vte
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mvte}
|
2007-03-15 12:08:05 -04:00
|
|
|
LIB_DEPENDS+= :vte-*:devel/vte
|
2006-12-10 17:03:48 -05:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-vte
|
|
|
|
.endif
|
|
|
|
|
2007-10-11 16:21:07 -04:00
|
|
|
pre-configure:
|
|
|
|
@perl -pi -e 's:\@GMSGFMT\@:${LOCALBASE}/bin/msgfmt:' \
|
|
|
|
${WRKSRC}/po/Makefile.in.in
|
|
|
|
|
2006-12-10 17:03:48 -05:00
|
|
|
.include <bsd.port.mk>
|