svn commit: r331945 - head/devel/tclreadline

Pietro Cerutti gahr at FreeBSD.org
Tue Oct 29 13:18:44 UTC 2013


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%%


More information about the svn-ports-head mailing list