summaryrefslogtreecommitdiff
path: root/cad/p5-GDS2/Makefile
blob: b183adb26ef876d2c2ceff4327cae849e64eff46 (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
PORTNAME=	GDS2
PORTVERSION=	3.35
CATEGORIES=	cad perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	hrs@FreeBSD.org
COMMENT=	GDS2 stream module
WWW=		https://metacpan.org/release/GDS2

LICENSE=	ART10

RUN_DEPENDS=	p5-Tk>=804.027:x11-toolkits/p5-Tk \
		p5-Tk-WaitBox>0:x11-toolkits/p5-Tk-WaitBox

USES=		perl5 shebangfix
USE_PERL5=	configure
SHEBANG_FILES=	Examples/*
PLIST_FILES=	${SITE_PERL}/GDS2.pm \
		${PROGRAMS:S,^,bin/,} \
		${MAN3PREFIX}/man/man3/GDS2.3.gz

PROGRAMS=	gds2dump gdsdump2gds modgds2 gdslayers testgds2 \
		gdspath4topath0 testgdt

post-install:
	cd ${WRKSRC}/Examples/ && \
	    ${INSTALL_SCRIPT} ${PROGRAMS} ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>