From d9efc98422d3b43728bae75f01b8192174f354c5 Mon Sep 17 00:00:00 2001 From: vanilla Date: Tue, 5 Nov 2013 01:33:02 +0000 Subject: Support STAGEDIR. --- graphics/p5-PGPLOT/Makefile | 8 ++------ graphics/p5-PGPLOT/pkg-plist | 5 +++-- 2 files changed, 5 insertions(+), 8 deletions(-) (limited to 'graphics/p5-PGPLOT') diff --git a/graphics/p5-PGPLOT/Makefile b/graphics/p5-PGPLOT/Makefile index 0c80bc46fef6..614712cdb203 100644 --- a/graphics/p5-PGPLOT/Makefile +++ b/graphics/p5-PGPLOT/Makefile @@ -20,14 +20,10 @@ SCRIPTS_ENV= PERL=${PERL} USE_FORTRAN= yes USES= perl5 -MAN3= PGPLOT.3 -MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VER} - .if !defined(NOPORTEXAMPLES) -NO_STAGE= yes post-install: - @${MKDIR} ${EXAMPLESDIR}/ - cd ${WRKSRC}/ && ${INSTALL_DATA} LICENSE test* ${EXAMPLESDIR}/ + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ + cd ${WRKSRC}/ && ${INSTALL_DATA} LICENSE test* ${STAGEDIR}${EXAMPLESDIR}/ .endif .if defined(MAINTAINER_MODE) && !defined(BATCH) diff --git a/graphics/p5-PGPLOT/pkg-plist b/graphics/p5-PGPLOT/pkg-plist index e07d4472b4b0..a9a2411beb3a 100644 --- a/graphics/p5-PGPLOT/pkg-plist +++ b/graphics/p5-PGPLOT/pkg-plist @@ -1,3 +1,4 @@ +%%PERL5_MAN3%%/PGPLOT.3.gz %%SITE_PERL%%/%%PERL_ARCH%%/PGPLOT.pm %%SITE_PERL%%/%%PERL_ARCH%%/auto/PGPLOT/.packlist %%SITE_PERL%%/%%PERL_ARCH%%/auto/PGPLOT/PGPLOT.bs @@ -17,5 +18,5 @@ %%PORTEXAMPLES%%%%EXAMPLESDIR%%/test7.p %%PORTEXAMPLES%%%%EXAMPLESDIR%%/test8.p %%PORTEXAMPLES%%%%EXAMPLESDIR%%/test9.p -%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/PGPLOT +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%% +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/PGPLOT -- cgit