Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Mar 2016 15:52:28 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r411096 - head/textproc/p5-Perl-Lint
Message-ID:  <201603141552.u2EFqSQl033411@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Mon Mar 14 15:52:28 2016
New Revision: 411096
URL: https://svnweb.freebsd.org/changeset/ports/411096

Log:
  Install examples.
  
  Sponsored by:	Absolight

Modified:
  head/textproc/p5-Perl-Lint/Makefile

Modified: head/textproc/p5-Perl-Lint/Makefile
==============================================================================
--- head/textproc/p5-Perl-Lint/Makefile	Mon Mar 14 15:31:56 2016	(r411095)
+++ head/textproc/p5-Perl-Lint/Makefile	Mon Mar 14 15:52:28 2016	(r411096)
@@ -3,7 +3,7 @@
 
 PORTNAME=	Perl-Lint
 PORTVERSION=	0.23
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	textproc perl5
 MASTER_SITES=	CPAN
 MASTER_SITE_SUBDIR=	CPAN:MOZNION
@@ -31,6 +31,14 @@ TEST_DEPENDS=	p5-Text-TestBase>=0:${PORT
 USES=		perl5
 USE_PERL5=	modbuildtiny
 
+OPTIONS_DEFINE=	EXAMPLES
+
+PORTEXAMPLES=	lint.pl lint_string.pl
+
+post-install-EXAMPLES-on:
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/eg/|} ${STAGEDIR}${EXAMPLESDIR}
+
 .include <bsd.port.pre.mk>
 
 .if ${PERL_LEVEL} >= 502000



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