2011-10-14 03:05:24 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.62 2011/10/14 07:05:24 ajacoutot Exp $
|
2002-04-28 13:33:04 -04:00
|
|
|
|
2009-05-25 12:09:08 -04:00
|
|
|
COMMENT = small, fast & usable window manager
|
2002-04-28 13:33:04 -04:00
|
|
|
|
2010-09-06 04:42:48 -04:00
|
|
|
V = 3.4.11.2
|
2010-05-02 05:10:53 -04:00
|
|
|
DISTNAME = openbox-${V}
|
2011-10-14 03:05:24 -04:00
|
|
|
REVISION = 2
|
2010-05-02 05:10:53 -04:00
|
|
|
SHARED_LIBS += obparser 9.1 # .21.7
|
|
|
|
SHARED_LIBS += obrender 9.1 # .21.7
|
2010-07-30 05:23:28 -04:00
|
|
|
|
2009-05-25 12:09:08 -04:00
|
|
|
CATEGORIES = x11
|
2002-04-28 13:33:04 -04:00
|
|
|
|
2010-05-02 05:10:53 -04:00
|
|
|
HOMEPAGE = http://openbox.org/
|
2002-04-28 13:33:04 -04:00
|
|
|
|
2009-05-25 12:09:08 -04:00
|
|
|
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
|
2007-06-08 14:41:39 -04:00
|
|
|
|
2008-04-16 03:41:35 -04:00
|
|
|
# GPLv2
|
2009-05-25 12:09:08 -04:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
2007-07-29 09:02:32 -04:00
|
|
|
|
2011-10-14 03:05:24 -04:00
|
|
|
WANTLIB += ICE SM X11 X11-xcb Xau Xcursor Xext Xfixes Xft Xinerama
|
|
|
|
WANTLIB += Xrandr Xrender c expat ffi fontconfig freetype glib-2.0
|
|
|
|
WANTLIB += gmodule-2.0 gobject-2.0 gthread-2.0 m pango-1.0 pangoft2-1.0
|
|
|
|
WANTLIB += pangoxft-1.0 pcre pthread startup-notification-1 xcb
|
|
|
|
WANTLIB += xcb-aux xml2 z
|
2007-07-29 09:02:32 -04:00
|
|
|
|
2010-05-02 05:10:53 -04:00
|
|
|
MASTER_SITES = ${HOMEPAGE}dist/openbox/
|
2008-04-16 04:26:48 -04:00
|
|
|
|
2009-05-25 12:09:08 -04:00
|
|
|
MODULES = devel/gettext \
|
|
|
|
lang/python
|
2009-05-25 11:17:20 -04:00
|
|
|
|
2010-11-22 03:36:47 -05:00
|
|
|
RUN_DEPENDS = devel/py-xdg \
|
|
|
|
devel/desktop-file-utils
|
|
|
|
LIB_DEPENDS += devel/pango \
|
|
|
|
textproc/libxml \
|
|
|
|
devel/startup-notification
|
2002-04-28 13:33:04 -04:00
|
|
|
|
2009-05-25 12:09:08 -04:00
|
|
|
MAKE_FLAGS = LIBINTL="-L${LOCALBASE}/lib -lintl -liconv"
|
|
|
|
FAKE_FLAGS = sysconfdir="${PREFIX}/share/examples/openbox"
|
2010-05-02 05:10:53 -04:00
|
|
|
SUBST_VARS = V
|
2007-07-29 09:02:32 -04:00
|
|
|
|
2010-10-19 04:13:56 -04:00
|
|
|
USE_GROFF = Yes
|
2009-05-25 12:09:08 -04:00
|
|
|
USE_GMAKE = Yes
|
|
|
|
USE_LIBTOOL = Yes
|
|
|
|
MODPY_RUNDEP = No
|
2008-04-16 03:41:35 -04:00
|
|
|
|
2009-05-25 12:09:08 -04:00
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
CONFIGURE_ARGS = ${CONFIGURE_SHARED} \
|
|
|
|
--docdir=${PREFIX}/share/examples/openbox
|
|
|
|
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2007-07-29 09:02:32 -04:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@chmod +x ${WRKSRC}/install-sh
|
2008-04-16 03:41:35 -04:00
|
|
|
@perl -pi -e 's,!!LOCALBASE!!,${LOCALBASE},g' \
|
|
|
|
${WRKSRC}/data/autostart.sh.in
|
2008-04-17 06:57:17 -04:00
|
|
|
@perl -pi -e 's,/usr/bin/env python,${MODPY_BIN},' \
|
|
|
|
${WRKSRC}/tools/xdg-autostart/xdg-autostart
|
2009-12-29 18:32:02 -05:00
|
|
|
|
2002-04-28 13:33:04 -04:00
|
|
|
.include <bsd.port.mk>
|