diff options
author | he <he> | 2003-11-20 14:26:00 +0000 |
---|---|---|
committer | he <he> | 2003-11-20 14:26:00 +0000 |
commit | e53be79032a50787edc1d4eaa970559705270b58 (patch) | |
tree | a9bd62872b41717425f4e3f74ef4a54589221270 | |
parent | 8ce233f7bed2cc75487a69febccc2750d18dc6aa (diff) | |
download | pkgsrc-e53be79032a50787edc1d4eaa970559705270b58.tar.gz |
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.
-rw-r--r-- | net/tcl-scotty/Makefile | 11 |
1 files 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" |