aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoreugen <eugen@FreeBSD.org>2017-07-13 16:20:35 +0800
committereugen <eugen@FreeBSD.org>2017-07-13 16:20:35 +0800
commit696acb63279e4e34de2e4a63ed8c47dde45da50c (patch)
tree38f2030e416742401e42a71cf06e4dc2210cd84e /net
parent3c9574ba1d661527ad57dca178758fc3594a9425 (diff)
downloadfreebsd-ports-gnome-696acb63279e4e34de2e4a63ed8c47dde45da50c.tar.gz
freebsd-ports-gnome-696acb63279e4e34de2e4a63ed8c47dde45da50c.tar.zst
freebsd-ports-gnome-696acb63279e4e34de2e4a63ed8c47dde45da50c.zip
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).
Diffstat (limited to 'net')
-rw-r--r--net/openpgm/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/net/openpgm/Makefile b/net/openpgm/Makefile
index af3dfed12570..72bf9e4e241d 100644
--- a/net/openpgm/Makefile
+++ b/net/openpgm/Makefile
@@ -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})