diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-03-13 09:47:54 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-03-13 09:47:54 +0000 |
commit | f063815b4dd4a431ac15432ed90d20d17c7d29f6 (patch) | |
tree | 3e7f97c7559a2485e2553f6f5ad9a1af95c27358 /lang | |
parent | 000b99097bfd4a1d49f35f6cbbbc1ace105e4257 (diff) | |
download | ports-f063815b4dd4a431ac15432ed90d20d17c7d29f6.tar.gz ports-f063815b4dd4a431ac15432ed90d20d17c7d29f6.zip |
Notes
Diffstat (limited to 'lang')
-rw-r--r-- | lang/tcl81-thread/Makefile | 27 | ||||
-rw-r--r-- | lang/tcl81-thread/files/patch-aa | 13 |
2 files changed, 28 insertions, 12 deletions
diff --git a/lang/tcl81-thread/Makefile b/lang/tcl81-thread/Makefile index 3cb49b5fe2cf..1cf92242f17f 100644 --- a/lang/tcl81-thread/Makefile +++ b/lang/tcl81-thread/Makefile @@ -5,14 +5,16 @@ # $FreeBSD$ # -PORTNAME= tcl-thread +PORTNAME= tcl PORTVERSION= 8.1.b1 +PORTREVISION= 1 CATEGORIES= lang tcl81 MASTER_SITES= ${MASTER_SITE_TCLTK} MASTER_SITE_SUBDIR= tcl8_1 +PKGNAMESUFFIX= -threads DISTNAME= tcl8.1b1 -MAINTAINER= ports@FreeBSD.org +MAINTAINER= martin@matuska.org COMMENT= Tcl81 with threads support FILE_DEPENDS= ${PORTSDIR}/lang/tcl80 @@ -23,9 +25,17 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-shared --enable-threads CONFIGURE_ENV= PORTSDIR=${PORTSDIR} -PKGINSTALL= ${PORTSDIR}/lang/tcl82/pkg/pkg-install.tclsh -PKGDEINSTALL= ${PORTSDIR}/lang/tcl82/pkg/pkg-deinstall.tclsh +OPTIONS= TCL81_MAN "Install tcl 8.1 manpages" off \ + TCLSH_WRAPPER "Require tclsh wrapper from ports" off + +.include <bsd.port.pre.mk> + +.if defined(WITH_TCLSH_WRAPPER) +RUN_DEPENDS+= tclsh:${PORTSDIR}/lang/tcl-tk-wrapper +.endif + +.if !defined(NO_INSTALL_MANPAGES) && defined(WITH_TCL81_MAN) MAN1= tclsh.1 MAN3= AddErrInfo.3 Alloc.3 AllowExc.3 AppInit.3 AssocData.3 Async.3 \ @@ -56,16 +66,15 @@ MANN= Tcl.n after.n append.n array.n bgerror.n binary.n break.n case.n \ variable.n vwait.n while.n MANCOMPRESSED= yes - -.include <bsd.port.pre.mk> +.endif .if ${ARCH} == "sparc64" -BROKEN= "Does not compile on sparc64" +BROKEN= does not compile on sparc64 .endif post-install: -.if exists(${PKGINSTALL}) - ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} +.if !defined(NO_INSTALL_MANPAGES) && defined(WITH_TCL81_MAN) + @cd ${WRKSRC} && ${MAKE} -f Makefile install-man .endif test: diff --git a/lang/tcl81-thread/files/patch-aa b/lang/tcl81-thread/files/patch-aa index d766fa1d1d83..79394452bc3d 100644 --- a/lang/tcl81-thread/files/patch-aa +++ b/lang/tcl81-thread/files/patch-aa @@ -1,5 +1,5 @@ ---- Makefile.in.orig Fri Dec 11 18:36:13 1998 -+++ Makefile.in Thu Jan 21 11:09:47 1999 +--- Makefile.in.orig Sat Dec 12 00:36:13 1998 ++++ Makefile.in Mon Mar 12 16:48:00 2007 @@ -55,7 +55,9 @@ BIN_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/bin @@ -70,7 +70,14 @@ @TCL_LD_SEARCH_FLAGS@ -o tclsh tcltest: ${TCLTEST_OBJS} ${TCL_LIB_FILE} ${BUILD_DLTEST} -@@ -459,7 +467,7 @@ +@@ -453,13 +461,13 @@ + cd dltest; if test -f configure; then ./configure; else \ + $(DLTEST_DIR)/configure; fi + +-install: install-binaries install-libraries install-man ++install: install-binaries install-libraries + + # Note: before running ranlib below, must cd to target directory because # some ranlibs write to current directory, and this might not always be # possible (e.g. if installing as root). |