aboutsummaryrefslogtreecommitdiffstats
path: root/cad/p5-GDS2/Makefile
blob: c647c930128edd11f82996dc2e256dd8416b8080 (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
# Created by: Hiroki Sato <hrs@FreeBSD.org>
# $FreeBSD$

PORTNAME=   GDS2
PORTVERSION=    3.00
CATEGORIES= cad perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-
DISTNAME=   ${PORTNAME}-${PORTVERSION:S,.a$,a,}

MAINTAINER= hrs@FreeBSD.org
COMMENT=    GDS2 - GDS2 stream module

USES=       perl5 shebangfix
USE_PERL5=  modbuild
WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION:S,.a$,,}
SHEBANG_FILES=  Examples/*
PLIST_FILES=    ${SITE_PERL_REL}/GDS2.pm \
        ${PROGRAMS:S,^,bin/,} %%PERL5_MAN3%%/GDS2.3.gz

PROGRAMS=   gdsdump2gds modgds2 gdslayers testgds2 \
        gdspath4topath0 testgdt
# XXX: gdsdump disabled for the moment

post-install:
    ${INSTALL_SCRIPT} ${PROGRAMS:S,^,${WRKSRC}/Examples/,} \
        ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>