Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2013 13:18:43 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r331945 - head/devel/tclreadline
Message-ID:  <201310291318.r9TDIhAC072834@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Tue Oct 29 13:18:43 2013
New Revision: 331945
URL: http://svnweb.freebsd.org/changeset/ports/331945

Log:
  - STAGE-clean
  - Get rid of MAN macros

Modified:
  head/devel/tclreadline/Makefile
  head/devel/tclreadline/pkg-plist   (contents, props changed)

Modified: head/devel/tclreadline/Makefile
==============================================================================
--- head/devel/tclreadline/Makefile	Tue Oct 29 13:14:41 2013	(r331944)
+++ head/devel/tclreadline/Makefile	Tue Oct 29 13:18:43 2013	(r331945)
@@ -13,17 +13,20 @@ COMMENT=	GNU readline for TCL
 USES+=		tcl
 USE_AUTOTOOLS=	libtool
 USE_LDCONFIG=	yes
-MANN=		tclreadline.n
 
 PLIST_SUB+=	VERSION="${PORTVERSION}"
 
 CONFIGURE_ARGS+=--with-tcl=${TCL_LIBDIR} \
 		--with-tcl-includes=${TCL_INCLUDEDIR}
 
-NO_STAGE=	yes
 post-patch:
 	${REINPLACE_CMD} \
 	    -e '/^#define MALLOC/d; /^#define FREE/d; s|MALLOC|malloc|g; s|FREE|free|g' \
 	    ${WRKSRC}/tclreadline.c
+	${REINPLACE_CMD} -e 's|/usr/locanl|/usr/local|' ${WRKSRC}/tclreadlineSetup.tcl.in
+	${REINPLACE_CMD} -e 's|/usr/local/bin/tclsh|${TCLSH}|g' \
+	    ${WRKSRC}/tclreadlineSetup.tcl.in \
+	    ${WRKSRC}/tclreadlineInit.tcl.in \
+	    ${WRKSRC}/pkgIndex.tcl.in
 
 .include <bsd.port.mk>

Modified: head/devel/tclreadline/pkg-plist
==============================================================================
--- head/devel/tclreadline/pkg-plist	Tue Oct 29 13:14:41 2013	(r331944)
+++ head/devel/tclreadline/pkg-plist	Tue Oct 29 13:18:43 2013	(r331945)
@@ -7,4 +7,5 @@ lib/tclreadline%%VERSION%%/pkgIndex.tcl
 lib/tclreadline%%VERSION%%/tclreadlineCompleter.tcl
 lib/tclreadline%%VERSION%%/tclreadlineInit.tcl
 lib/tclreadline%%VERSION%%/tclreadlineSetup.tcl
+man/mann/tclreadline.n.gz
 @dirrm lib/tclreadline%%VERSION%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310291318.r9TDIhAC072834>