2008-04-16 15:54:33 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.41 2008/04/16 19:54:33 ajacoutot Exp $
|
2002-04-28 13:33:04 -04:00
|
|
|
|
2007-06-08 14:41:39 -04:00
|
|
|
COMMENT= small, fast & usable window manager
|
2002-04-28 13:33:04 -04:00
|
|
|
|
2008-04-16 15:54:33 -04:00
|
|
|
DISTNAME= openbox-3.4.7.1
|
|
|
|
SHARED_LIBS+= obparser 8.0 # .21.2
|
|
|
|
SHARED_LIBS+= obrender 8.0 # .21.2
|
2002-04-28 13:33:04 -04:00
|
|
|
CATEGORIES= x11
|
|
|
|
|
2006-02-10 05:02:36 -05:00
|
|
|
HOMEPAGE= http://icculus.org/openbox/
|
2002-04-28 13:33:04 -04:00
|
|
|
|
2007-06-08 14:41:39 -04:00
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
|
2008-04-16 03:41:35 -04:00
|
|
|
# GPLv2
|
2002-04-28 13:33:04 -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
|
|
|
|
|
|
|
MASTER_SITES= http://offload1.icculus.org/openbox/releases/
|
|
|
|
|
|
|
|
WANTLIB= ICE SM X11 Xext Xft Xinerama Xrandr Xrender c \
|
|
|
|
fontconfig freetype m z glib-2.0 gmodule-2.0 \
|
2008-01-07 09:34:15 -05:00
|
|
|
gobject-2.0 Xau Xcursor Xdmcp Xfixes expat pcre
|
2007-07-29 09:02:32 -04:00
|
|
|
|
|
|
|
MODULES= devel/gettext
|
2008-04-16 04:26:48 -04:00
|
|
|
|
|
|
|
BUILD_DEPENDS= ::textproc/docbook-to-man
|
2007-07-29 09:02:32 -04:00
|
|
|
LIB_DEPENDS+= pango-1.0,pangoxft-1.0,pangoft2-1.0::devel/pango \
|
|
|
|
xml2.>=6::textproc/libxml \
|
|
|
|
startup-notification-1.>=1::devel/startup-notification
|
2002-04-28 13:33:04 -04:00
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
USE_GMAKE= Yes
|
2005-10-01 19:44:34 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2007-07-29 09:02:32 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2007-10-16 10:46:01 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2008-04-16 03:41:35 -04:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--docdir=${PREFIX}/share/examples/openbox
|
|
|
|
|
|
|
|
MAKE_FLAGS= LIBINTL="-L${LOCALBASE}/lib -lintl -liconv"
|
|
|
|
FAKE_FLAGS= sysconfdir="${PREFIX}/share/examples/openbox"
|
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
|
2003-11-11 22:45:05 -05:00
|
|
|
|
2008-04-16 04:26:48 -04:00
|
|
|
pre-build:
|
|
|
|
.for i in openbox-gnome-session.1 openbox-kde-session.1 openbox-session.1 openbox.1
|
|
|
|
${LOCALBASE}/bin/docbook-to-man \
|
|
|
|
${WRKSRC}/doc/${i}.sgml > ${WRKSRC}/doc/${i}.in
|
|
|
|
.endfor
|
|
|
|
|
2002-04-28 13:33:04 -04:00
|
|
|
.include <bsd.port.mk>
|