summaryrefslogtreecommitdiffstats
path: root/textproc/redet/Makefile
blob: fc2c7adcebbb2d0cb2d8676c22955c7c87a6cb1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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>
OpenPOWER on IntegriCloud