blob: c9f9ad3ce003b2a2dcdc645101be8b18b01616dc (
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
|
# Created by: kline
# $FreeBSD$
PORTNAME= cbb
DISTVERSION= 0.9.5b
CATEGORIES= finance deskutils
MASTER_SITES= http://download.gna.org/cbb/
MAINTAINER= kline@thought.org
COMMENT= Checkbook balancing tool
LICENSE= GPLv2
NO_BUILD= yes
USES= shebangfix perl5 tk tar:tgz
SHEBANG_FILES= tcl/*.tcl */*.pl contrib/*
SHEBANG_LANG= perl tk
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-perl=${PERL} \
--with-wish=${WISH}
MAKE_ENV+= STAGEDIR=${STAGEDIR}
WRKSRC= ${WRKDIR}/${PKGNAME:R}
PLIST_SUB+= VERSION=${PORTVERSION:R:R}
post-patch:
${REINPLACE_CMD} -e 's|.aboutwin.frame.a.l6 ||' \
${WRKSRC}/tcl/help.tcl
${REINPLACE_CMD} -e 's|%4Y%02m%02d|%Y%m%d|' \
${WRKSRC}/tcl/main.tcl
${REINPLACE_CMD} -e 's|/usr/bin/perl|${TCLSH}|' \
${WRKSRC}/languages/*.tcl
.include <bsd.port.mk>
|