pkgsrc/wm/openbox/Makefile
wiz 8b6cc78165 Update to 3.5 and add comments to patches.
3.5.0:
  * New alt-tab dialog shows windows in a vertical list.
  * Improved Xinerama support.
  * Allow icons in menus.
  * Theme options for prompt dialogs (osd.button.unpressed.*,
    osd.button.pressed.*, osd.button.focused.*)
  * Addresses bug #4877, #4596, #4617, #4752, #4663, #4662, #4586, #2319,
    #4341, #4519, #4543, #4503, #4355, #4072, #3702, #4284
  * Lots of additional bug fixes and performance improvements.
2011-08-06 17:09:03 +00:00

62 lines
2.1 KiB
Makefile

# $NetBSD: Makefile,v 1.68 2011/08/06 17:09:03 wiz Exp $
DISTNAME= openbox-3.5.0
CATEGORIES= wm x11
MASTER_SITES= http://openbox.org/dist/openbox/
MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://openbox.org/
COMMENT= Standards compliant, light-weight, and extensible window manager
LICENSE= gnu-gpl-v2
DEPENDS+= vera-ttf>=1.10:../../fonts/vera-ttf
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
USE_TOOLS+= gmake msgfmt pkg-config
USE_LIBTOOL= YES
USE_PKGLOCALEDIR= YES
USE_FEATURES+= setenv
PKGCONFIG_OVERRIDE= obrender/obrender-3.5.pc.in
PKGCONFIG_OVERRIDE+= obt/obt-3.5.pc.in
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
LDFLAGS+= ${BUILDLINK_LDADD.libsetenv}
PKG_SYSCONFSUBDIR= xdg
OWN_DIRS= ${PKG_SYSCONFDIR}
OWN_DIRS+= ${PKG_SYSCONFDIR}/openbox
EGDIR= ${PREFIX}/share/examples/openbox
CONF_FILES= ${EGDIR}/autostart ${PKG_SYSCONFDIR}/openbox/autostart
CONF_FILES+= ${EGDIR}/environment ${PKG_SYSCONFDIR}/openbox/environment
CONF_FILES+= ${EGDIR}/menu.xml ${PKG_SYSCONFDIR}/openbox/menu.xml
CONF_FILES+= ${EGDIR}/rc.xml ${PKG_SYSCONFDIR}/openbox/rc.xml
SUBST_CLASSES+= python
SUBST_STAGE.python= pre-build
SUBST_FILES.python+= data/autostart/openbox-xdg-autostart
# Best we can do without pulling in a python dependency.
# Update when PYTHON_VERSION_DEFAULT changes!
SUBST_SED.python+= -e 's,/usr/bin/env.*python,${PREFIX}/bin/python2.6,'
SUBST_MESSAGE.python= Fixing path to python.
CHECK_INTERPRETER_SKIP= libexec/openbox-xdg-autostart
BUILDLINK_DEPMETHOD.libXt?= build
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXcursor/buildlink3.mk"
.include "../../x11/libXft/buildlink3.mk"
.include "../../x11/libXinerama/buildlink3.mk"
.include "../../x11/libXrandr/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/startup-notification/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"