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:
parent
40f217cafe
commit
fb46b18ce6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331945
@ -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>
|
||||
|
@ -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%%
|
||||
|
Loading…
Reference in New Issue
Block a user