freebsd-ports/graphics/p5-PGPLOT/Makefile

35 lines
854 B
Makefile
Raw Normal View History

# Created by: jmz
1999-08-25 08:16:32 +02:00
# $FreeBSD$
PORTNAME= PGPLOT
PORTVERSION= 2.21
PORTREVISION= 4
CATEGORIES= graphics perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:KGB
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl5 extension which makes available the pgplot library
2011-11-07 18:38:17 +01:00
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}
USES= fortran perl5
.if !defined(NOPORTEXAMPLES)
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} LICENSE test* ${STAGEDIR}${EXAMPLESDIR})
.endif
.if defined(MAINTAINER_MODE) && !defined(BATCH)
check regression-test test: build
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \
${_MAKE_JOBS} ${MAKE_ARGS} test
.endif
.include <bsd.port.mk>