Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jun 2018 18:02:33 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r471587 - head/devel/p5-BS-Event
Message-ID:  <201806041802.w54I2XdE061119@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Jun  4 18:02:32 2018
New Revision: 471587
URL: https://svnweb.freebsd.org/changeset/ports/471587

Log:
  Convert to options target helper
  
  - Fix and update WWW

Modified:
  head/devel/p5-BS-Event/Makefile
  head/devel/p5-BS-Event/pkg-plist

Modified: head/devel/p5-BS-Event/Makefile
==============================================================================
--- head/devel/p5-BS-Event/Makefile	Mon Jun  4 18:02:27 2018	(r471586)
+++ head/devel/p5-BS-Event/Makefile	Mon Jun  4 18:02:32 2018	(r471587)
@@ -20,12 +20,11 @@ OPTIONS_DEFINE=	EXAMPLES
 NO_ARCH=	yes
 USE_PERL5=	configure
 USES=		perl5 shebangfix
+
 SHEBANG_FILES=	samples/simple_example
 perl_OLD_CMD=	/opt/perl/bin/perl
 
-PORTEXAMPLES=	simple_example
-
-post-install:
+post-install-EXAMPLES-on:
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
 	${INSTALL_SCRIPT} ${WRKSRC}/samples/simple_example ${STAGEDIR}${EXAMPLESDIR}/
 

Modified: head/devel/p5-BS-Event/pkg-plist
==============================================================================
--- head/devel/p5-BS-Event/pkg-plist	Mon Jun  4 18:02:27 2018	(r471586)
+++ head/devel/p5-BS-Event/pkg-plist	Mon Jun  4 18:02:32 2018	(r471587)
@@ -1,2 +1,3 @@
 %%SITE_PERL%%/BS/Event.pm
 %%PERL5_MAN3%%/BS::Event.3.gz
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple_example



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