openbsd-ports/x11/openbox/Makefile

63 lines
1.6 KiB
Makefile
Raw Normal View History

2011-10-14 03:05:24 -04:00
# $OpenBSD: Makefile,v 1.62 2011/10/14 07:05:24 ajacoutot Exp $
COMMENT = small, fast & usable window manager
V = 3.4.11.2
DISTNAME = openbox-${V}
2011-10-14 03:05:24 -04:00
REVISION = 2
SHARED_LIBS += obparser 9.1 # .21.7
SHARED_LIBS += obrender 9.1 # .21.7
2010-07-30 05:23:28 -04:00
CATEGORIES = x11
HOMEPAGE = http://openbox.org/
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
2008-04-16 03:41:35 -04:00
# GPLv2
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
MASTER_SITES = ${HOMEPAGE}dist/openbox/
MODULES = devel/gettext \
lang/python
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
MAKE_FLAGS = LIBINTL="-L${LOCALBASE}/lib -lintl -liconv"
FAKE_FLAGS = sysconfdir="${PREFIX}/share/examples/openbox"
SUBST_VARS = V
2007-07-29 09:02:32 -04:00
2010-10-19 04:13:56 -04:00
USE_GROFF = Yes
USE_GMAKE = Yes
USE_LIBTOOL = Yes
MODPY_RUNDEP = No
2008-04-16 03:41:35 -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
@perl -pi -e 's,/usr/bin/env python,${MODPY_BIN},' \
${WRKSRC}/tools/xdg-autostart/xdg-autostart
.include <bsd.port.mk>