diff options
author | Erwin Lansing <erwin@FreeBSD.org> | 2006-08-05 22:42:24 +0000 |
---|---|---|
committer | Erwin Lansing <erwin@FreeBSD.org> | 2006-08-05 22:42:24 +0000 |
commit | 158df60054c9cd25413091670f34dab40584017a (patch) | |
tree | 746e052641003e0645da246146e849687dd2f6b1 /finance/cbb/Makefile | |
parent | f45d77036211d2417cb95b630d0b4eb631e38b8f (diff) |
Notes
Diffstat (limited to 'finance/cbb/Makefile')
-rw-r--r-- | finance/cbb/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/finance/cbb/Makefile b/finance/cbb/Makefile index a4daec6644ca..60db6609bdde 100644 --- a/finance/cbb/Makefile +++ b/finance/cbb/Makefile @@ -18,7 +18,17 @@ RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82 NO_BUILD= yes USE_PERL5= yes -MAKE_ENV= PERL5=${PERL5} 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> |