summaryrefslogtreecommitdiff
path: root/net/tcl-scotty
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2003-11-20 14:26:00 +0000
committerhe <he@pkgsrc.org>2003-11-20 14:26:00 +0000
commit42670a0633cb2601771234b40375b5f8ac59e217 (patch)
treea9bd62872b41717425f4e3f74ef4a54589221270 /net/tcl-scotty
parent648d43d59937866d2d4bd9779b7d173b10cafeeb (diff)
downloadpkgsrc-42670a0633cb2601771234b40375b5f8ac59e217.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.
Diffstat (limited to 'net/tcl-scotty')
-rw-r--r--net/tcl-scotty/Makefile11
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"