freebsd-ports/graphics/p5-PGPLOT/Makefile
Niclas Zeising be6c15b5c6 Add USES=xorg USES=gl, ports categories g
Add USES=xorg and USES=gl to ports in categories starting with 'g'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-05 22:16:14 +00:00

35 lines
770 B
Makefile

# Created by: jmz
# $FreeBSD$
PORTNAME= PGPLOT
PORTVERSION= 2.21
PORTREVISION= 15
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
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= p5-ExtUtils-F77>=1.13:lang/p5-ExtUtils-F77
LIB_DEPENDS= libpgplot.so:graphics/pgplot \
libpng.so:graphics/png
USES= fortran perl5 xorg
USE_XORG= x11
INSTALL_TARGET= pure_install
TEST_TARGET= test
SCRIPTS_ENV= PERL=${PERL}
OPTIONS_DEFINE= EXAMPLES
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} test* ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>