summaryrefslogtreecommitdiffstats
path: root/textproc/re_graph/Makefile
blob: f929d7a162f7595f5db53cfc0cf7837fe6565fb1 (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
# Created by: ijliao
# $FreeBSD$

PORTNAME=	re_graph
PORTVERSION=	0.2
PORTREVISION=	3
CATEGORIES=	textproc
MASTER_SITES=	http://www.oualline.com/sw/re/
DISTNAME=	${PORTNAME:S/_/-/}_${PORTVERSION:S/.//}
EXTRACT_SUFX=	.tar

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Regular Expression Graphing Program

RUN_DEPENDS=	p5-GD>=0:graphics/p5-GD \
		p5-GD-Arrow>=0:graphics/p5-GD-Arrow

USES=		perl5
NO_WRKSUBDIR=	yes
NO_BUILD=	yes
USE_PERL5=	run

PLIST_FILES=	bin/re_graph

OPTIONS_DEFINE=	DOCS

PORTDOCS=	*

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/re_graph.pl ${STAGEDIR}${PREFIX}/bin/re_graph
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/re_graph.html ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/tut* ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud