From 4c460d9a919902a3dd638348f6486247b4b8d87f Mon Sep 17 00:00:00 2001 From: he Date: Thu, 20 Nov 2003 14:26:00 +0000 Subject: Centralize the specification of the version number, so that the post-install target doesn't get out of sync and creates a symlink pointing into empty space. Package revision bumped to 1 since this will modify a binary package. --- net/tcl-scotty/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/net/tcl-scotty/Makefile b/net/tcl-scotty/Makefile index 0e481e10fd4..3719a11e906 100644 --- a/net/tcl-scotty/Makefile +++ b/net/tcl-scotty/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.7 2003/07/21 17:11:20 martti Exp $ +# $NetBSD: Makefile,v 1.8 2003/11/20 14:26:00 he Exp $ # -DISTNAME= scotty-2.1.11 -PKGNAME= tcl-scotty-2.1.11 +DISTNAME= scotty-${DIST_VERS} +PKGNAME= tcl-scotty-${DIST_VERS} +PKGREVISION= 1 WRKSRC= ${WRKDIR}/${DISTNAME}/unix CATEGORIES= net tcl tk MASTER_SITES= ftp://ftp.ibr.cs.tu-bs.de/pub/local/tkined/ @@ -13,6 +14,8 @@ COMMENT= Network management extensions to TCL DEPENDS+= tcl>=8.3.2:../../lang/tcl +DIST_VERS= 2.1.11 + GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-tcl-config=${PREFIX}/lib --enable-multicast \ --enable-gdmo --without-tk-config @@ -29,6 +32,6 @@ do-install: @cd ${WRKSRC} && ${MAKE_ENV} ${MAKE} tnm-install install-man sinstall post-install: - cd ${PREFIX}/bin && ${LN} -f -s scotty2.1.10 scotty + cd ${PREFIX}/bin && ${LN} -f -s scotty${DIST_VERS} scotty .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3