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

- Convert to USES+=tk

- Convert to OPTIONSng (DOCS)
- STAGE-clean
This commit is contained in:
Pietro Cerutti 2013-10-15 09:11:14 +00:00
parent 26842f113a
commit 9fe47723e7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330374

View File

@ -11,24 +11,27 @@ COMMENT= Visual regexp development and execution
RUN_DEPENDS= ${LOCALBASE}/lib/iwidgets/iwidgets.tcl:${PORTSDIR}/x11-toolkits/iwidgets
OPTIONS_DEFINE= DOCS
NO_BUILD= yes
USE_BZIP2= yes
USE_TK_RUN= 84
USES+= tk:run
PORTDOCS= AUTHORS COPYING CREDITS LICENSE NEWS README-General ChangeLog
MAN1= redet.1
PLIST_FILES= bin/redet
PLIST_FILES= bin/redet \
man/man1/redet.1.gz
.include <bsd.port.options.mk>
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e "s@exec wish@exec ${WISH}@" ${WRKSRC}/redet.tcl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/redet.tcl ${PREFIX}/bin/redet
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1/
.if !defined(NOPORTDOCS)
@${INSTALL} -d ${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
${INSTALL_SCRIPT} ${WRKSRC}/redet.tcl ${STAGEDIR}${PREFIX}/bin/redet
${INSTALL_MAN} ${WRKSRC}/redet.1 ${STAGEDIR}${PREFIX}/man/man1
.if ${PORT_OPTIONS:MDOCS}
@${INSTALL} -d ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>