1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- STAGE-clean

- Get rid of MAN macros
This commit is contained in:
Pietro Cerutti 2013-10-29 13:18:43 +00:00
parent 40f217cafe
commit fb46b18ce6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331945
2 changed files with 6 additions and 2 deletions

View File

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

View File

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