Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jul 2019 20:31:57 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r505705 - head/graphics/p5-PGPLOT
Message-ID:  <201907022031.x62KVvQp038120@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Jul  2 20:31:57 2019
New Revision: 505705
URL: https://svnweb.freebsd.org/changeset/ports/505705

Log:
  - 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

Modified:
  head/graphics/p5-PGPLOT/Makefile
  head/graphics/p5-PGPLOT/pkg-plist

Modified: head/graphics/p5-PGPLOT/Makefile
==============================================================================
--- head/graphics/p5-PGPLOT/Makefile	Tue Jul  2 20:30:44 2019	(r505704)
+++ head/graphics/p5-PGPLOT/Makefile	Tue Jul  2 20:31:57 2019	(r505705)
@@ -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>

Modified: head/graphics/p5-PGPLOT/pkg-plist
==============================================================================
--- head/graphics/p5-PGPLOT/pkg-plist	Tue Jul  2 20:30:44 2019	(r505704)
+++ head/graphics/p5-PGPLOT/pkg-plist	Tue Jul  2 20:31:57 2019	(r505705)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907022031.x62KVvQp038120>