1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/finance/cbb/Makefile
Erwin Lansing 158df60054 Fix install after DESTDIR patch.
Submitted by:	gabor
2006-08-05 22:42:24 +00:00

35 lines
924 B
Makefile

# New ports collection Makefile for: cbb
# Date created: 24 September, 1998
# Whom: kline
#
# $FreeBSD$
#
PORTNAME= cbb
PORTVERSION= 0.8.1
CATEGORIES= finance deskutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
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|$$destdir/$$prefix/bin|' \
-e 's|$$destdir/lib/cbb|$$destdir/$$prefix/lib/cbb|' \
${WRKSRC}/install.pl
@${REINPLACE_CMD} -e "s|=wish|=wish8.2|" -e 's|=""wish""|=""wish8.2""|' \
${WRKSRC}/configure
.include <bsd.port.mk>