summaryrefslogtreecommitdiffstats
path: root/x11-wm/bbpager/Makefile
blob: 2630036d5f2f418dca5318f6d00c9ab1ff30080c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# New ports collection makefile for: bbpager
# Date created:        17 June 2000
# Whom:                Patrick Seal <patseal@hyperhost.net>
#
# $FreeBSD$
#

PORTNAME=	bbpager
DISTVERSION=	0.4.1beta1
CATEGORIES=	x11-wm
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	bbtools

MAINTAINER=	A.J.Caines@halplant.com
COMMENT=	A pager for the Blackbox window manager

BUILD_DEPENDS=	blackbox:${PORTSDIR}/x11-wm/blackbox

USE_X_PREFIX=	yes
USE_GNOME=	gnomehack pkgconfig
USE_GCC=	3.3+
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="`pkg-config --cflags xft`" \
		LDFLAGS="`pkg-config --libs xft`"
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

PORTDOCS=	README.bbpager
PLIST_FILES=	bin/bbpager %%DATADIR%%/bbpager.rc
PLIST_DIRS=	%%DATADIR%%

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/bbpager ${PREFIX}/bin
	@${MKDIR} ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/data/bbpager.rc ${DATADIR}/

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/data/${file} ${DOCSDIR}/
.endfor
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud