# New ports collection makefile for: openbox (based on the blackbox port) # Date created: 2002-04-28 # Whom: Trevor Johnson # # $FreeBSD$ # PORTNAME= openbox PORTVERSION= 3.4.11.2 PORTREVISION= 1 CATEGORIES= x11-wm MASTER_SITES= http://openbox.org/dist/openbox/ \ http://dougbarton.us/Downloads/ MAINTAINER= novel@FreeBSD.org COMMENT= Small, fast, standards compliant, extensible window manager LICENSE= GPLv2 GNU_CONFIGURE= yes USE_GMAKE= yes USE_GNOME= glib20 libxml2 gnomehack ltverhack USE_XORG= xft USE_AUTOTOOLS= libtool USE_LDCONFIG= yes CONFIGURE_ENV= CFLAGS+="-I${LOCALBASE}/include" \ LDFLAGS+="-L${LOCALBASE}/lib" MAN1= openbox.1 openbox-session.1 obxprop.1 \ openbox-gnome-session.1 openbox-kde-session.1 PLIST_SUB= VERSION=${PORTVERSION} .if !defined(WITHOUT_NLS) USE_GETTEXT= yes PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " .endif .if !defined(WITHOUT_PANGO) USE_GNOME+= pango .else CONFIGURE_ARGS+= --disable-pango .endif post-configure: @${CHMOD} +x ${WRKSRC}/install-sh .include