pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/tcl-scotty Centralize the specification of the ver...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e58ee155b4f1
branches:  trunk
changeset: 463617:e58ee155b4f1
user:      he <he%pkgsrc.org@localhost>
date:      Thu Nov 20 14:26:00 2003 +0000

description:
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:

 net/tcl-scotty/Makefile |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r 3b35da61fb28 -r e58ee155b4f1 net/tcl-scotty/Makefile
--- a/net/tcl-scotty/Makefile   Thu Nov 20 12:09:09 2003 +0000
+++ b/net/tcl-scotty/Makefile   Thu Nov 20 14:26:00 2003 +0000
@@ -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 @@
 
 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 @@
        @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"



Home | Main Index | Thread Index | Old Index