aboutsummaryrefslogtreecommitdiff
path: root/lang/tcl80
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1998-11-14 09:43:39 +0000
committerSatoshi Asami <asami@FreeBSD.org>1998-11-14 09:43:39 +0000
commit96bc8048c3217bb231f2f30eadeb628134b557f5 (patch)
treec75d5bd5a6faba5d6ec73da367e4bfe5b0d4285d /lang/tcl80
parent637c4e8f19438274164c0673ec85af739aba205b (diff)
downloadports-96bc8048c3217bb231f2f30eadeb628134b557f5.tar.gz
ports-96bc8048c3217bb231f2f30eadeb628134b557f5.zip
Notes
Diffstat (limited to 'lang/tcl80')
-rw-r--r--lang/tcl80/Makefile21
1 files changed, 11 insertions, 10 deletions
diff --git a/lang/tcl80/Makefile b/lang/tcl80/Makefile
index 873790850830..44a06426e998 100644
--- a/lang/tcl80/Makefile
+++ b/lang/tcl80/Makefile
@@ -3,7 +3,7 @@
# Date created: 19 August 1997
# Whom: jkh
#
-# $Id: Makefile,v 1.7 1998/07/27 21:14:46 hoek Exp $
+# $Id: Makefile,v 1.8 1998/09/17 22:30:01 steve Exp $
#
DISTNAME= tcl8.0p2
@@ -17,12 +17,21 @@ WRKSRC= ${WRKDIR}/tcl8.0/unix
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared
CONFIGURE_ENV= PORTSDIR=${PORTSDIR}
+EXTRA_PKG_ARGS= -i ${PKGDIR}/INSTALL.tclsh
SHLIB_MAJOR= 1
SHLIB_MINOR= 2
MAKEFILE= makefile
TCL_LIB= libtcl80.so
+.include <bsd.port.pre.mk>
+
+.if ${PORTOBJFORMAT} == "elf"
+TCL_LIB_FILE= ${TCL_LIB}.${SHLIB_MAJOR}
+.else
+TCL_LIB_FILE= ${TCL_LIB}.${SHLIB_MAJOR}.${SHLIB_MINOR}
+.endif
+
post-configure:
@${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}
@${CP} ${FILESDIR}/makefile ${WRKSRC}
@@ -41,12 +50,4 @@ post-install:
test:
cd ${WRKSRC} && ${MAKE} test
-.include <bsd.port.mk>
-
-PKG_ARGS+= -i ${PKGDIR}/INSTALL.tclsh
-
-.if ${PORTOBJFORMAT} == "elf"
-TCL_LIB_FILE= ${TCL_LIB}.${SHLIB_MAJOR}
-.else
-TCL_LIB_FILE= ${TCL_LIB}.${SHLIB_MAJOR}.${SHLIB_MINOR}
-.endif
+.include <bsd.port.post.mk>