Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jul 2017 08:20:35 +0000 (UTC)
From:      Eugene Grosbein <eugen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r445637 - head/net/openpgm
Message-ID:  <201707130820.v6D8KZ5d055664@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eugen
Date: Thu Jul 13 08:20:35 2017
New Revision: 445637
URL: https://svnweb.freebsd.org/changeset/ports/445637

Log:
  Remove perl from runtime depends: perl is not used by openpgm in runtime, only for build.
  While here, copy docs and examples only if corresponding options turned on.
  
  PR:		217893
  Submitted by:	Anton Yuzhaninov
  Approved by:	vg (maintainer timeout, 3+ months)
  Approved by:	az (mentor).

Modified:
  head/net/openpgm/Makefile

Modified: head/net/openpgm/Makefile
==============================================================================
--- head/net/openpgm/Makefile	Thu Jul 13 07:48:02 2017	(r445636)
+++ head/net/openpgm/Makefile	Thu Jul 13 08:20:35 2017	(r445637)
@@ -4,7 +4,7 @@
 PORTNAME=	openpgm
 DISTVERSIONPREFIX=	release-
 DISTVERSION=	5-2-122
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net devel
 
 MAINTAINER=	vg@FreeBSD.org
@@ -20,6 +20,7 @@ GH_ACCOUNT=	steve-o
 
 GNU_CONFIGURE=	yes
 USES=		autoreconf pathfix perl5 libtool python:build
+USE_PERL5=	build
 USE_LDCONFIG=	yes
 WRKSRC_SUBDIR=	openpgm/pgm
 INSTALL_TARGET=	install-strip
@@ -28,9 +29,11 @@ OPTIONS_DEFINE=	DOCS EXAMPLES
 PORTDOCS=	draft-ietf-rmt-bb-pgmcc-03.txt rfc3208.txt
 PORTEXAMPLES=	*
 
-post-install:
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/../doc/,} ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
 



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