Hi,
This diff adds a runtime dependency on devel/py-xdg, because
/usr/local/lib/openbox/xdg-autostart requires it.
Since openbox already depends on python, this isn't an heavy
addition.
I've also remaked the Makefile using the new spacing convention.
cheers,
David
Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/openbox/Makefile,v
retrieving revision 1.45
diff -N -u -p Makefile
--- Makefile 16 Jan 2009 07:52:50 -0000 1.45
+++ Makefile 7 Apr 2009 10:33:11 -0000
@@ -1,49 +1,51 @@
# $OpenBSD: Makefile,v 1.45 2009/01/16 07:52:50 ajacoutot Exp $
-COMMENT= small, fast & usable window manager
+COMMENT = small, fast & usable window manager
-DISTNAME= openbox-3.4.7.2
-PKGNAME= ${DISTNAME}p1
-SHARED_LIBS+= obparser 8.0 # .21.2
-SHARED_LIBS+= obrender 8.0 # .21.2
-CATEGORIES= x11
+DISTNAME = openbox-3.4.7.2
+PKGNAME = ${DISTNAME}p2
+SHARED_LIBS += obparser 8.0 # .21.2
+SHARED_LIBS += obrender 8.0 # .21.2
+CATEGORIES = x11
-HOMEPAGE= http://icculus.org/openbox/
+HOMEPAGE = http://icculus.org/openbox/
-MAINTAINER= Benoit Lecocq <[email protected]>
+MAINTAINER = Benoit Lecocq <[email protected]>
# GPLv2
-PERMIT_PACKAGE_CDROM= Yes
-PERMIT_PACKAGE_FTP= Yes
-PERMIT_DISTFILES_CDROM= Yes
-PERMIT_DISTFILES_FTP= Yes
+PERMIT_PACKAGE_CDROM = Yes
+PERMIT_PACKAGE_FTP = Yes
+PERMIT_DISTFILES_CDROM =Yes
+PERMIT_DISTFILES_FTP = Yes
-MASTER_SITES= http://offload1.icculus.org/openbox/releases/
+MASTER_SITES = http://offload1.icculus.org/openbox/releases/
-WANTLIB= ICE SM X11 Xext Xft Xinerama Xrandr Xrender c \
+WANTLIB = ICE SM X11 Xext Xft Xinerama Xrandr Xrender c \
fontconfig freetype m z glib-2.0 gmodule-2.0 \
gobject-2.0 Xau Xcursor Xdmcp Xfixes expat pcre
-MODULES= devel/gettext \
+MODULES = devel/gettext \
lang/python
-LIB_DEPENDS+= pango-1.0,pangoxft-1.0,pangoft2-1.0::devel/pango \
+LIB_DEPENDS += pango-1.0,pangoxft-1.0,pangoft2-1.0::devel/pango \
xml2.>=6::textproc/libxml \
startup-notification-1.>=1::devel/startup-notification
-USE_X11= Yes
-USE_GMAKE= Yes
-USE_LIBTOOL= Yes
-MODPY_RUNDEP= No
+RUN_DEPENDS = ::devel/py-xdg
-CONFIGURE_STYLE=gnu
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+USE_X11 = Yes
+USE_GMAKE = Yes
+USE_LIBTOOL = Yes
+MODPY_RUNDEP = No
+
+CONFIGURE_STYLE =gnu
+CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
+CONFIGURE_ARGS =${CONFIGURE_SHARED} \
--docdir=${PREFIX}/share/examples/openbox
-MAKE_FLAGS= LIBINTL="-L${LOCALBASE}/lib -lintl -liconv"
-FAKE_FLAGS= sysconfdir="${PREFIX}/share/examples/openbox"
+MAKE_FLAGS = LIBINTL="-L${LOCALBASE}/lib -lintl -liconv"
+FAKE_FLAGS = sysconfdir="${PREFIX}/share/examples/openbox"
pre-configure:
@chmod +x ${WRKSRC}/install-sh