aboutsummaryrefslogtreecommitdiff
path: root/graphics/p5-PGPLOT
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2019-07-02 20:31:57 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2019-07-02 20:31:57 +0000
commit2bc14230cfe7afa96c439432346248fc0162d153 (patch)
tree3ffd48683184c7ede864f390e47158ee2a0d34b3 /graphics/p5-PGPLOT
parentc6c9b5d41aa3065dc169374e946d1ff18e83ddc6 (diff)
downloadports-2bc14230cfe7afa96c439432346248fc0162d153.tar.gz
ports-2bc14230cfe7afa96c439432346248fc0162d153.zip
- Add LICENSE and don't install it with DOCS
- Add missing dependency on png - Switch to new test framework - Pet portlint Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=505705
Diffstat (limited to 'graphics/p5-PGPLOT')
-rw-r--r--graphics/p5-PGPLOT/Makefile23
-rw-r--r--graphics/p5-PGPLOT/pkg-plist1
2 files changed, 12 insertions, 12 deletions
diff --git a/graphics/p5-PGPLOT/Makefile b/graphics/p5-PGPLOT/Makefile
index 9907d72efb27..c02fc66e3fe0 100644
--- a/graphics/p5-PGPLOT/Makefile
+++ b/graphics/p5-PGPLOT/Makefile
@@ -3,7 +3,7 @@
PORTNAME= PGPLOT
PORTVERSION= 2.21
-PORTREVISION= 13
+PORTREVISION= 14
CATEGORIES= graphics perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:KGB
@@ -12,23 +12,24 @@ 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
+LIB_DEPENDS= libpgplot.so:graphics/pgplot \
+ libpng.so:graphics/png
+USES= fortran perl5
+USE_XORG= x11
INSTALL_TARGET= pure_install
+TEST_TARGET= test
SCRIPTS_ENV= PERL=${PERL}
-USES= fortran perl5
OPTIONS_DEFINE= EXAMPLES
-post-install:
+post-install-EXAMPLES-on:
@${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
+ (cd ${WRKSRC} && ${INSTALL_DATA} test* ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>
diff --git a/graphics/p5-PGPLOT/pkg-plist b/graphics/p5-PGPLOT/pkg-plist
index e1d4f07df7cf..be681cb05564 100644
--- a/graphics/p5-PGPLOT/pkg-plist
+++ b/graphics/p5-PGPLOT/pkg-plist
@@ -1,7 +1,6 @@
%%PERL5_MAN3%%/PGPLOT.3.gz
%%SITE_ARCH%%/PGPLOT.pm
%%SITE_ARCH%%/auto/PGPLOT/PGPLOT.so
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/LICENSE
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test.img
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test.pl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test1.p