2009-09-04 07:38:31 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.22 2009/09/04 11:38:31 landry 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
|
|
|
|
2009-09-04 07:38:31 -04:00
|
|
|
DISTNAME= geany-0.18
|
|
|
|
PKGNAME= ${DISTNAME}
|
2006-12-10 17:03:48 -05:00
|
|
|
CATEGORIES= devel
|
2007-03-15 12:08:05 -04:00
|
|
|
|
2009-05-30 21:56:51 -04:00
|
|
|
HOMEPAGE= http://www.geany.org
|
2006-12-10 17:03:48 -05:00
|
|
|
|
2009-03-05 13:26:07 -05:00
|
|
|
MAINTAINER= Jonathan Armani <dbd@asystant.net>
|
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
|
|
|
|
2007-05-28 10:20:43 -04:00
|
|
|
WANTLIB= X11 Xext Xrender Xau Xcursor Xdmcp Xfixes Xi \
|
2007-11-13 09:06:21 -05:00
|
|
|
Xcomposite Xdamage pcre \
|
2007-05-28 10:20:43 -04:00
|
|
|
Xinerama Xrandr expat stdc++ c m z glitz png \
|
2009-03-05 13:26:07 -05:00
|
|
|
glib-2.0 gmodule-2.0 gobject-2.0 gio-2.0 \
|
2006-12-10 17:03:48 -05:00
|
|
|
fontconfig freetype atk-1.0 cairo \
|
2009-08-10 02:29:51 -04:00
|
|
|
pango-1.0 pangoft2-1.0 pangocairo-1.0 pixman-1 \
|
|
|
|
pthread-stubs xcb
|
2006-12-10 17:03:48 -05:00
|
|
|
|
|
|
|
LIB_DEPENDS= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::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>
|