2015-09-25 09:49:52 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.74 2015/09/25 09:49:52 dcoppa Exp $
|
2002-04-28 17:33:04 +00:00
|
|
|
|
2009-05-25 16:09:08 +00:00
|
|
|
COMMENT = small, fast & usable window manager
|
2002-04-28 17:33:04 +00:00
|
|
|
|
2015-09-25 09:49:52 +00:00
|
|
|
V = 3.6.1
|
2010-05-02 09:10:53 +00:00
|
|
|
DISTNAME = openbox-${V}
|
2015-09-25 09:49:52 +00:00
|
|
|
SHARED_LIBS += obrender 12.0 # 32.0
|
|
|
|
SHARED_LIBS += obt 1.1 # 2.2
|
2010-07-30 09:23:28 +00:00
|
|
|
|
2009-05-25 16:09:08 +00:00
|
|
|
CATEGORIES = x11
|
2002-04-28 17:33:04 +00:00
|
|
|
|
2010-05-02 09:10:53 +00:00
|
|
|
HOMEPAGE = http://openbox.org/
|
2002-04-28 17:33:04 +00:00
|
|
|
|
2009-05-25 16:09:08 +00:00
|
|
|
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
|
2007-06-08 18:41:39 +00:00
|
|
|
|
2008-04-16 07:41:35 +00:00
|
|
|
# GPLv2
|
2009-05-25 16:09:08 +00:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
2007-07-29 13:02:32 +00:00
|
|
|
|
2011-11-02 19:12:01 +00:00
|
|
|
WANTLIB += ICE Imlib2 SM X11 X11-xcb Xau Xcursor Xext Xfixes Xft
|
2013-10-08 11:18:57 +00:00
|
|
|
WANTLIB += Xinerama Xrandr Xrender c cairo croco-0.6 expat ffi
|
|
|
|
WANTLIB += fontconfig freetype gdk_pixbuf-2.0 gio-2.0 glib-2.0
|
2015-04-21 18:51:24 +00:00
|
|
|
WANTLIB += gmodule-2.0 gobject-2.0 graphite2 gthread-2.0 harfbuzz lzma m
|
|
|
|
WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0 pangoxft-1.0 pcre
|
|
|
|
WANTLIB += pixman-1 png pthread pthread-stubs rsvg-2
|
|
|
|
WANTLIB += startup-notification-1 xcb xcb-render xcb-shm xcb-util xml2 z
|
2007-07-29 13:02:32 +00:00
|
|
|
|
2010-05-02 09:10:53 +00:00
|
|
|
MASTER_SITES = ${HOMEPAGE}dist/openbox/
|
2008-04-16 08:26:48 +00:00
|
|
|
|
2009-05-25 16:09:08 +00:00
|
|
|
MODULES = devel/gettext \
|
|
|
|
lang/python
|
2009-05-25 15:17:20 +00:00
|
|
|
|
2010-11-22 08:36:47 +00:00
|
|
|
RUN_DEPENDS = devel/py-xdg \
|
|
|
|
devel/desktop-file-utils
|
|
|
|
LIB_DEPENDS += devel/pango \
|
2011-11-02 19:12:01 +00:00
|
|
|
devel/startup-notification \
|
|
|
|
graphics/imlib2 \
|
2013-10-08 11:18:57 +00:00
|
|
|
textproc/libxml \
|
|
|
|
x11/gnome/librsvg
|
2002-04-28 17:33:04 +00:00
|
|
|
|
2011-11-02 19:12:01 +00:00
|
|
|
FAKE_FLAGS = sysconfdir="${PREFIX}/share/examples/openbox" \
|
2011-11-11 10:59:17 +00:00
|
|
|
rcdir="${PREFIX}/share/examples/openbox" \
|
|
|
|
mkdir_p="$${SHELL} ${WRKSRC}/install-sh -d"
|
2014-04-14 19:52:44 +00:00
|
|
|
|
2011-11-02 19:12:01 +00:00
|
|
|
API_V = ${V:R}
|
|
|
|
SUBST_VARS = API_V
|
2007-07-29 13:02:32 +00:00
|
|
|
|
2009-05-25 16:09:08 +00:00
|
|
|
USE_GMAKE = Yes
|
|
|
|
MODPY_RUNDEP = No
|
2011-11-02 19:12:01 +00:00
|
|
|
MODPY_ADJ_FILES =data/autostart/openbox-xdg-autostart
|
2008-04-16 07:41:35 +00:00
|
|
|
|
2009-05-25 16:09:08 +00:00
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
CONFIGURE_ARGS = ${CONFIGURE_SHARED} \
|
|
|
|
--docdir=${PREFIX}/share/examples/openbox
|
2011-11-02 19:12:01 +00:00
|
|
|
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
2012-06-20 21:34:04 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
2007-07-29 13:02:32 +00:00
|
|
|
|
|
|
|
pre-configure:
|
2011-11-02 19:12:01 +00:00
|
|
|
${SUBST_CMD} ${WRKSRC}/data/autostart/autostart.in
|
2014-04-14 19:52:44 +00:00
|
|
|
|
2002-04-28 17:33:04 +00:00
|
|
|
.include <bsd.port.mk>
|