summaryrefslogtreecommitdiff
path: root/misc/bbappconf/Makefile
blob: 48f801458bc687257e52c4084d85149dcfd88761 (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
# $NetBSD: Makefile,v 1.2 2002/08/05 21:42:33 jschauma Exp $
#

DISTNAME=	bbappconf-0.0.1-peak3
PKGNAME=	bbappconf-0.0.1.0.3
PKGREVISION=	1
CATEGORIES=	misc x11 wm
MASTER_SITES=	http://bbtools.windsofstorm.net/sources/devel/

MAINTAINER=	jschauma@netbsd.org
HOMEPAGE=	http://bbtools.windsofstorm.net
COMMENT=	Configure the behaviour of an application under Blackbox

GNU_CONFIGURE=		YES
USE_BUILDLINK_ONLY=	YES
USE_X11BASE=		YES

post-patch:
	${SED} -e 's,@PREFIX@,${PREFIX},' ${WRKSRC}/data/bbappconf.1.tmp > \
		${WRKSRC}/data/bbappconf.1
	${SED} -e 's,@PREFIX@,${PREFIX},' ${WRKSRC}/data/README.bbappconf > \
		${WRKSRC}/data/README.bbappconf.tmp
	${MV} ${WRKSRC}/data/README.bbappconf.tmp ${WRKSRC}/data/README.bbappconf

post-install:
	${INSTALL_MAN_DIR} ${PREFIX}/man/man1
	${INSTALL_MAN} ${WRKSRC}/data/bbappconf.1 ${PREFIX}/man/man1

.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"