mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-02 11:09:29 +00:00
879e75a659
benefit from the improved situation where libgcc_s is only used when absolutely necessary. Suggested by: tijl
35 lines
825 B
Makefile
35 lines
825 B
Makefile
# Created by: jmz
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= PGPLOT
|
|
PORTVERSION= 2.21
|
|
PORTREVISION= 13
|
|
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
|
|
|
|
BUILD_DEPENDS= p5-ExtUtils-F77>=1.13:lang/p5-ExtUtils-F77
|
|
LIB_DEPENDS= libpgplot.so:graphics/pgplot
|
|
|
|
INSTALL_TARGET= pure_install
|
|
SCRIPTS_ENV= PERL=${PERL}
|
|
USES= fortran perl5
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} LICENSE test* ${STAGEDIR}${EXAMPLESDIR})
|
|
|
|
.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>
|