Fake, use tcl/tk8.3

This commit is contained in:
espie 2000-04-08 17:48:23 +00:00
parent 784dc27832
commit 09bcd88058
2 changed files with 15 additions and 18 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.9 2000/03/27 18:17:27 espie Exp $
# $OpenBSD: Makefile,v 1.10 2000/04/08 17:48:23 espie Exp $
DISTNAME= xcd-1.6
CATEGORIES= audio
@ -11,9 +11,21 @@ PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
FAKE= Yes
MAKE_FLAGS=BINDIR=${PREFIX}/bin \
CDDIR=${PREFIX}/lib/xcd \
MANDIR=${PREFIX}/man/man1
RUN_DEPENDS= wish8.0::x11/tk/8.0
FAKE_FLAGS=BINDIR=${WRKINST}${PREFIX}/bin \
CDDIR=${WRKINST}${PREFIX}/lib/xcd \
MANDIR=${WRKINST}${PREFIX}/man/man1
WRKDIST= ${WRKDIR}/xcd
RUN_DEPENDS= wish8.3::x11/tk/8.3
do-configure:
cd ${WRKDIST} && \
sed -e 's,wish4.1,wish8.3,' <xcd.in >xcd.in.new && \
mv -f xcd.in.new xcd.in
.include <bsd.port.mk>

View File

@ -1,15 +0,0 @@
#!/bin/sh
cd $WRKSRC || exit 1;
cat >> Makefile << END
BINDIR = $PREFIX/bin
CDDIR = $PREFIX/lib/xcd
MANDIR = $PREFIX/man/man1
END
mv xcd.in xcd.in~
sed -e 's/wish4\.1/wish8.0/' < xcd.in~ > xcd.in
exit 0;