freebsd-ports/net/openpgm/Makefile
Eugene Grosbein a0e281720e 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).
2017-07-13 08:20:35 +00:00

40 lines
1,003 B
Makefile

# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$
PORTNAME= openpgm
DISTVERSIONPREFIX= release-
DISTVERSION= 5-2-122
PORTREVISION= 3
CATEGORIES= net devel
MAINTAINER= vg@FreeBSD.org
COMMENT= Implementation of the PGM reliable multicast protocol
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_powerpc64= fails to compile: socket.c: internal compiler error: in extract_insn, at recog.c
USE_GITHUB= yes
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
OPTIONS_DEFINE= DOCS EXAMPLES
PORTDOCS= draft-ietf-rmt-bb-pgmcc-03.txt rfc3208.txt
PORTEXAMPLES= *
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})
.include <bsd.port.mk>