mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
9fe47723e7
- Convert to OPTIONSng (DOCS) - STAGE-clean
38 lines
965 B
Makefile
38 lines
965 B
Makefile
# Created by: Vsevolod Stakhov <vsevolod@highsecure.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= redet
|
|
PORTVERSION= 8.26
|
|
CATEGORIES= textproc tk
|
|
MASTER_SITES= http://www.billposer.org/Software/Downloads/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
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
|
|
USES+= tk:run
|
|
|
|
PORTDOCS= AUTHORS COPYING CREDITS LICENSE NEWS README-General ChangeLog
|
|
PLIST_FILES= bin/redet \
|
|
man/man1/redet.1.gz
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s@exec wish@exec ${WISH}@" ${WRKSRC}/redet.tcl
|
|
|
|
do-install:
|
|
${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>
|