aboutsummaryrefslogtreecommitdiff
path: root/textproc/redet/Makefile
blob: e561e8d33812f4601b9bd7f5a3a64738c3b4fe12 (plain) (blame)
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
# New ports collection makefile for:	redet
# Date created:		2005-07-18
# Whom:			Vsevolod Stakhov <vsevolod@highsecure.ru>
#
# $FreeBSD$
#

PORTNAME=	redet
PORTVERSION=	8.21
CATEGORIES=	textproc tk84
MASTER_SITES=	http://www.billposer.org/Software/Downloads/ CENKES

MAINTAINER=	infofarmer@FreeBSD.org
COMMENT=	Visual regexp development and execution

RUN_DEPENDS=	${LOCALBASE}/lib/iwidgets/iwidgets.tcl:${PORTSDIR}/x11-toolkits/iwidgets

NO_BUILD=	yes
USE_BZIP2=	yes
USE_TK_RUN=	84

PORTDOCS=	AUTHORS COPYING CREDITS LICENSE NEWS README-General ChangeLog
MAN1=		redet.1
PLIST_FILES=	bin/redet

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}/
.endif

.include <bsd.port.mk>