1998-06-16 05:04:34 +02:00
|
|
|
# New ports collection makefile for: Blackbox
|
2011-03-18 03:54:26 +01:00
|
|
|
# Date created: June 15, 1998
|
|
|
|
# Whom: Brian Handy <handy@physics.montana.edu>
|
1998-06-16 05:04:34 +02:00
|
|
|
#
|
1999-08-31 05:04:38 +02:00
|
|
|
# $FreeBSD$
|
1998-06-16 05:04:34 +02:00
|
|
|
#
|
|
|
|
|
2000-04-10 21:50:46 +02:00
|
|
|
PORTNAME= blackbox
|
2005-11-14 04:56:23 +01:00
|
|
|
PORTVERSION= 0.70.1
|
2011-07-08 12:27:20 +02:00
|
|
|
PORTREVISION= 4
|
1998-08-08 01:01:41 +02:00
|
|
|
CATEGORIES= x11-wm
|
2009-08-22 02:39:37 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}wm/${PORTNAME}wm/Blackbox%20${PORTVERSION}
|
1998-06-16 05:04:34 +02:00
|
|
|
|
2005-03-18 22:20:26 +01:00
|
|
|
MAINTAINER= A.J.Caines@halplant.com
|
2003-02-21 15:19:11 +01:00
|
|
|
COMMENT= A small and fast window manager for X11R6
|
1998-06-16 05:04:34 +02:00
|
|
|
|
2011-03-18 03:54:26 +01:00
|
|
|
LICENSE= MIT
|
2002-09-19 16:38:40 +02:00
|
|
|
|
1998-10-22 11:37:19 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2005-03-11 20:25:25 +01:00
|
|
|
USE_ICONV= yes
|
2011-03-18 03:54:26 +01:00
|
|
|
USE_GNOME= gnomehack pkgconfig
|
|
|
|
USE_XORG= x11 xft
|
2002-01-25 23:47:06 +01:00
|
|
|
|
2011-07-08 12:27:20 +02:00
|
|
|
MAN1= bsetbg.1 bsetroot.1
|
|
|
|
PORTDOCS= README.bbtools README.bsetbg
|
|
|
|
|
|
|
|
OPTIONS= TOOLS_ONLY "Do not install window manager, only tools" off
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_TOOLS_ONLY)
|
|
|
|
PKGNAMESUFFIX= -tools
|
|
|
|
COMMENT+= (tools only)
|
|
|
|
MAKE_ARGS= SUBDIRS="doc lib util" bin_PROGRAMS=bsetroot
|
|
|
|
INSTALL_TARGET= -C util install # XXX dirty hack :(
|
|
|
|
.else
|
|
|
|
MAN1+= blackbox.1
|
|
|
|
PORTDOCS+= AUTHORS COMPLIANCE ChangeLog README RELNOTES TODO
|
|
|
|
.endif
|
1999-03-22 09:38:59 +01:00
|
|
|
|
2011-10-20 05:33:06 +02:00
|
|
|
post-patch:
|
|
|
|
# Fix the build with libX11 > 1.40
|
|
|
|
@${REINPLACE_CMD} -e 's/_XUTIL_H_/_X11&/' ${WRKSRC}/lib/Util.hh
|
|
|
|
|
2005-03-18 22:20:26 +01:00
|
|
|
post-install:
|
2011-07-08 12:27:20 +02:00
|
|
|
.if defined(WITH_TOOLS_ONLY)
|
|
|
|
@${REINPLACE_CMD} -E '/[^s]\/blackbox|bstyleconvert|lib|include/d' \
|
|
|
|
${TMPPLIST}
|
|
|
|
${INSTALL_MAN} ${MAN1:S#^#${WRKSRC}/doc/#} ${MANPREFIX}/man/man1
|
|
|
|
.endif
|
2005-03-18 22:20:26 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2011-03-18 03:54:26 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S#^#${WRKSRC}/#} ${DOCSDIR}
|
2005-03-18 22:20:26 +01:00
|
|
|
.endif
|
|
|
|
|
1998-06-16 05:04:34 +02:00
|
|
|
.include <bsd.port.mk>
|