diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1998-11-14 09:43:39 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1998-11-14 09:43:39 +0000 |
commit | 96bc8048c3217bb231f2f30eadeb628134b557f5 (patch) | |
tree | c75d5bd5a6faba5d6ec73da367e4bfe5b0d4285d /lang/tcl80 | |
parent | Checksum changed.... (diff) |
Use bsd.port.{pre,post}.mk to move PORTOBJFORMAT to front, or change
shell loops to make loops. Use EXTRA_PKG_FLAGS to add install scripts
instead of adding it to PKG_FLAGS after bsd.port.mk.
Notes
Notes:
svn path=/head/; revision=14512
Diffstat (limited to 'lang/tcl80')
-rw-r--r-- | lang/tcl80/Makefile | 21 |
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> |