Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Mar 2015 17:36:34 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r381225 - head/graphics/p5-Image-Caa
Message-ID:  <201503131736.t2DHaYr1009196@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Fri Mar 13 17:36:33 2015
New Revision: 381225
URL: https://svnweb.freebsd.org/changeset/ports/381225
QAT: https://qat.redports.org/buildarchive/r381225/

Log:
  Control examples with PORTEXAMPLES.

Modified:
  head/graphics/p5-Image-Caa/Makefile
  head/graphics/p5-Image-Caa/pkg-plist

Modified: head/graphics/p5-Image-Caa/Makefile
==============================================================================
--- head/graphics/p5-Image-Caa/Makefile	Fri Mar 13 17:35:39 2015	(r381224)
+++ head/graphics/p5-Image-Caa/Makefile	Fri Mar 13 17:36:33 2015	(r381225)
@@ -17,6 +17,8 @@ BUILD_DEPENDS:=	${RUN_DEPENDS}
 USES=		perl5
 USE_PERL5=	configure
 
+OPTIONS_DEFINE=	EXAMPLES
+
 post-install:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/demos/* ${STAGEDIR}${EXAMPLESDIR}

Modified: head/graphics/p5-Image-Caa/pkg-plist
==============================================================================
--- head/graphics/p5-Image-Caa/pkg-plist	Fri Mar 13 17:35:39 2015	(r381224)
+++ head/graphics/p5-Image-Caa/pkg-plist	Fri Mar 13 17:36:33 2015	(r381225)
@@ -1,4 +1,3 @@
-%%PERL5_MAN3%%/Image::Caa.3.gz
 %%SITE_PERL%%/Image/Caa.pm
 %%SITE_PERL%%/Image/Caa/DitherNone.pm
 %%SITE_PERL%%/Image/Caa/DitherOrdered2.pm
@@ -8,10 +7,11 @@
 %%SITE_PERL%%/Image/Caa/DriverANSI.pm
 %%SITE_PERL%%/Image/Caa/DriverCurses.pm
 %%SITE_PERL%%/Image/Caa/DriverTest.pm
-%%EXAMPLESDIR%%/curses.pl
-%%EXAMPLESDIR%%/kitten.jpg
-%%EXAMPLESDIR%%/kitten.pl
-%%EXAMPLESDIR%%/portrait.jpg
-%%EXAMPLESDIR%%/portrait.pl
-%%EXAMPLESDIR%%/sunset.jpg
-%%EXAMPLESDIR%%/sunset.pl
+%%PERL5_MAN3%%/Image::Caa.3.gz
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/curses.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/kitten.jpg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/kitten.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/portrait.jpg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/portrait.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sunset.jpg
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sunset.pl



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