From owner-svn-ports-all@freebsd.org Thu Mar 17 18:52:06 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 906F1AD49E3; Thu, 17 Mar 2016 18:52:06 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5EE5A12A5; Thu, 17 Mar 2016 18:52:06 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u2HIq5Zj019914; Thu, 17 Mar 2016 18:52:05 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2HIq5qK019913; Thu, 17 Mar 2016 18:52:05 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201603171852.u2HIq5qK019913@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Thu, 17 Mar 2016 18:52:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r411298 - head/textproc/p5-PDF-Table X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Mar 2016 18:52:06 -0000 Author: mat Date: Thu Mar 17 18:52:05 2016 New Revision: 411298 URL: https://svnweb.freebsd.org/changeset/ports/411298 Log: Add an option to install the examples. Because the man page says: For a complete working example or initial script look into distribution`s 'examples' folder. With hat: perl@ Sponsored by: Absolight Modified: head/textproc/p5-PDF-Table/Makefile Modified: head/textproc/p5-PDF-Table/Makefile ============================================================================== --- head/textproc/p5-PDF-Table/Makefile Thu Mar 17 18:24:38 2016 (r411297) +++ head/textproc/p5-PDF-Table/Makefile Thu Mar 17 18:52:05 2016 (r411298) @@ -3,6 +3,7 @@ PORTNAME= PDF-Table DISTVERSION= 0.9.10 +PORTREVISION= 1 CATEGORIES= textproc perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -16,6 +17,12 @@ RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 USE_PERL5= configure -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +OPTIONS_DEFINE= EXAMPLES + +PORTEXAMPLES= * + +post-install-EXAMPLES-on: + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include