diff options
author | miwi <miwi@FreeBSD.org> | 2007-03-13 17:47:54 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-03-13 17:47:54 +0800 |
commit | 2a0bf6f70498726455739ad58a616402ce574f6d (patch) | |
tree | 8627c354a01df5a29faa27db682a31c839c10b13 /lang | |
parent | 6aafcef4026d9ccd5f10a4ded7a332f80cf1d1a3 (diff) | |
download | freebsd-ports-gnome-2a0bf6f70498726455739ad58a616402ce574f6d.tar.gz freebsd-ports-gnome-2a0bf6f70498726455739ad58a616402ce574f6d.tar.zst freebsd-ports-gnome-2a0bf6f70498726455739ad58a616402ce574f6d.zip |
- Adds TCL81_MAN and TCLSH_WRAPPER to OPTIONS
- Removes pseudo-installation of tclsh in favour of new lang/tcl-tk-wrapper port
- Adds support for NO_INSTALL_MANPAGES knob
- Pass maintainership to submitter
- Bump PORTREVISION
PR: 110232
Submitted by: Martin Matuska <martin@matuska.org>
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). |