summaryrefslogtreecommitdiff
path: root/lang/tcl
diff options
context:
space:
mode:
authorminskim <minskim>2004-05-12 23:50:15 +0000
committerminskim <minskim>2004-05-12 23:50:15 +0000
commit8fc688e0f88e4da9c7f3757239bee7b4a7bb55d9 (patch)
treed3d434bd17c515e2752380490f21ba199a931f4e /lang/tcl
parent91ad8a3b3d1203a74f10ff9630131d423144b505 (diff)
downloadpkgsrc-8fc688e0f88e4da9c7f3757239bee7b4a7bb55d9.tar.gz
Install regex.h, which is used in tclRegexp.h.
While here, simplify header installation in Makefile by replacing many INSTALL commands with a for-loop. Bump PKGREVISION.
Diffstat (limited to 'lang/tcl')
-rw-r--r--lang/tcl/Makefile21
-rw-r--r--lang/tcl/PLIST3
2 files changed, 9 insertions, 15 deletions
diff --git a/lang/tcl/Makefile b/lang/tcl/Makefile
index fb34ef6f7ea..90f25cc87f0 100644
--- a/lang/tcl/Makefile
+++ b/lang/tcl/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.31 2004/04/09 23:37:28 danw Exp $
+# $NetBSD: Makefile,v 1.32 2004/05/12 23:50:15 minskim Exp $
#
DISTNAME= tcl8.4.6-src
PKGNAME= tcl-8.4.6
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tcl/}
@@ -69,17 +69,10 @@ post-install:
${INSTALL_DATA_DIR} ${PREFIX}/include/tcl/unix
${INSTALL_DATA_DIR} ${PREFIX}/include/tcl/generic
${INSTALL_DATA} ${WRKSRC}/tclUnixPort.h ${PREFIX}/include/tcl/unix
- ${INSTALL_DATA} ${WRKSRC}/../generic/tcl.h ${PREFIX}/include/tcl/generic
- ${INSTALL_DATA} ${WRKSRC}/../generic/tclCompile.h ${PREFIX}/include/tcl/generic
- ${INSTALL_DATA} ${WRKSRC}/../generic/tclDecls.h ${PREFIX}/include/tcl/generic
- ${INSTALL_DATA} ${WRKSRC}/../generic/tclIO.h ${PREFIX}/include/tcl/generic
- ${INSTALL_DATA} ${WRKSRC}/../generic/tclInitScript.h ${PREFIX}/include/tcl/generic
- ${INSTALL_DATA} ${WRKSRC}/../generic/tclInt.h ${PREFIX}/include/tcl/generic
- ${INSTALL_DATA} ${WRKSRC}/../generic/tclIntDecls.h ${PREFIX}/include/tcl/generic
- ${INSTALL_DATA} ${WRKSRC}/../generic/tclIntPlatDecls.h ${PREFIX}/include/tcl/generic
- ${INSTALL_DATA} ${WRKSRC}/../generic/tclMath.h ${PREFIX}/include/tcl/generic
- ${INSTALL_DATA} ${WRKSRC}/../generic/tclPlatDecls.h ${PREFIX}/include/tcl/generic
- ${INSTALL_DATA} ${WRKSRC}/../generic/tclPort.h ${PREFIX}/include/tcl/generic
- ${INSTALL_DATA} ${WRKSRC}/../generic/tclRegexp.h ${PREFIX}/include/tcl/generic
+.for f in regex.h tcl.h tclCompile.h tclDecls.h tclIO.h \
+ tclInitScript.h tclInt.h tclIntDecls.h tclIntPlatDecls.h\
+ tclMath.h tclPlatDecls.h tclPort.h tclRegexp.h
+ ${INSTALL_DATA} ${WRKSRC}/../generic/${f} ${PREFIX}/include/tcl/generic
+.endfor
.include "../../mk/bsd.pkg.mk"
diff --git a/lang/tcl/PLIST b/lang/tcl/PLIST
index 4b409b96e03..1d30af6f09d 100644
--- a/lang/tcl/PLIST
+++ b/lang/tcl/PLIST
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.5 2004/04/09 23:37:28 danw Exp $
+@comment $NetBSD: PLIST,v 1.6 2004/05/12 23:50:15 minskim Exp $
bin/tclsh
bin/tclsh8.4
include/tcl.h
+include/tcl/generic/regex.h
include/tcl/generic/tcl.h
include/tcl/generic/tclCompile.h
include/tcl/generic/tclDecls.h