35 lines
775 B
Makefile
35 lines
775 B
Makefile
# New ports collection makefile for: pgperl
|
|
# Date created: 22 December 1996
|
|
# Whom: jmz
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= PGPLOT
|
|
PORTVERSION= 2.21
|
|
CATEGORIES= graphics perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= CPAN:KGB
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= A perl5 extension which makes available the pgplot library
|
|
|
|
BUILD_DEPENDS= p5-ExtUtils-F77>=1.13:${PORTSDIR}/lang/p5-ExtUtils-F77
|
|
LIB_DEPENDS= pgplot.5:${PORTSDIR}/graphics/pgplot
|
|
|
|
INSTALL_TARGET= pure_install
|
|
SCRIPTS_ENV= PERL=${PERL}
|
|
USE_FORTRAN= g77
|
|
USE_PERL5= yes
|
|
|
|
MAN3= PGPLOT.3
|
|
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
post-install:
|
|
${MKDIR} ${EXAMPLESDIR}/
|
|
cd ${WRKSRC}/ && ${INSTALL_DATA} LICENSE test* ${EXAMPLESDIR}/
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|