aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/pgperl/Makefile
blob: 2fd3ed2ffefe575547ac16318fb024c4c321874a (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
# New ports collection makefile for:    pgperl
# Version required:     2.15
# Date created:     22 December 1996
# Whom:         jmz
#
# $FreeBSD$
#

DISTNAME=       PGPLOT-2.15
PKGNAME=    pgperl-2.15
CATEGORIES=     graphics perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= PGPLOT

MAINTAINER= jmz@FreeBSD.org

LIB_DEPENDS=    pgplot.5:${PORTSDIR}/graphics/pgplot
BUILD_DEPENDS=  ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/ExtUtils/F77.pm:${PORTSDIR}/lang/p5-F77

USE_PERL5=  yes
ALL_TARGET= dynamic
SCRIPTS_ENV=    PERL=${PERL}

.include <bsd.port.pre.mk>

MAN3=   PGPLOT.3
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}

post-install:
    @${MKDIR} ${PREFIX}/share/doc/pgperl
    @(cd ${WRKSRC}; ${INSTALL_DATA} LICENSE test* \
        ${PREFIX}/share/doc/pgperl)

.include <bsd.port.post.mk>