1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/x11-wm/openbox/Makefile
Roman Bogorodskiy ca19d8635e Update to 3.4.3.
2007-07-30 16:56:16 +00:00

52 lines
1.1 KiB
Makefile

# New ports collection makefile for: openbox
# Date created: 2002-04-28
# Whom: trevor
# based on the blackbox port
#
# $FreeBSD$
#
PORTNAME= openbox
PORTVERSION= 3.4.3
CATEGORIES= x11-wm
MASTER_SITES= http://offload1.icculus.org/openbox/releases/
MAINTAINER= novel@FreeBSD.org
COMMENT= A standards compliant, fast, light-weight, extensible window manager
LIB_DEPENDS= Xft.2:${PORTSDIR}/x11-fonts/libXft
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GNOME= glib20 libxml2 ltverhack
USE_AUTOTOOLS= libtool:15
USE_XLIB= yes
USE_LDCONFIG= yes
CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAN1= openbox.1 openbox-session.1 \
openbox-gnome-session.1 openbox-kde-session.1
.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-patch:
@${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \
${WRKSRC}/Makefile.in
post-configure:
@${CHMOD} +x ${WRKSRC}/install-sh
.include <bsd.port.mk>