summaryrefslogtreecommitdiff
path: root/finance/cbb/Makefile
blob: d0f1c4fce8079e30ec7218e32352b9efae7fa0ae (plain) (blame)
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
# New ports collection Makefile for:	cbb
# Date created:			24 September, 1998
# Whom:				kline
#
# $FreeBSD$
#

PORTNAME=	cbb
PORTVERSION=	0.8.1
PORTREVISION=	1
CATEGORIES=	finance deskutils
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-0.8%20%28stable%29/${PORTVERSION}

MAINTAINER=	kline@thought.org
COMMENT=	Checkbook balancing tool

RUN_DEPENDS=	wish8.2:${PORTSDIR}/x11-toolkits/tk82

NO_BUILD=	yes
USE_PERL5=	yes
GNU_CONFIGURE=	yes

post-patch:
	@${REINPLACE_CMD} -e "s|PERL = /usr/bin/perl|PERL = ${PERL5}|" \
			-e "s|WISH = /usr/bin/wish|WISH = ${LOCALBASE}/bin/wish8.2|" \
			-e "s|DESTDIR =||" ${WRKSRC}/Makefile
	@${REINPLACE_CMD} "s|DESTDIR =||" ${WRKSRC}/Makefile
	@${REINPLACE_CMD} -e 's|$$destdir/bin|$$prefix/bin|' \
			-e 's|$$destdir/lib/cbb|$$prefix/lib/cbb|' \
			${WRKSRC}/install.pl
	@${REINPLACE_CMD} -e "s|=wish|=wish8.2|" -e 's|=""wish""|=""wish8.2""|' \
			${WRKSRC}/configure

.include <bsd.port.mk>