2013-07-22 14:34:22 +00:00
|
|
|
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
|
2013-01-28 04:03:05 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= openpgm
|
|
|
|
PORTVERSION= 5.2.122
|
|
|
|
CATEGORIES= net devel
|
|
|
|
MASTER_SITES= GOOGLE_CODE
|
|
|
|
DISTNAME= libpgm-${PORTVERSION}
|
|
|
|
|
2013-07-22 14:34:22 +00:00
|
|
|
MAINTAINER= vg@FreeBSD.org
|
2013-01-28 04:03:05 +00:00
|
|
|
COMMENT= Implementation of the PGM reliable multicast protocol
|
|
|
|
|
|
|
|
LICENSE= LGPL3
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_BZIP2= yes
|
2013-09-15 14:54:36 +00:00
|
|
|
USES= pathfix perl5
|
2013-01-28 04:03:05 +00:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_PYTHON= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/openpgm/pgm
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
DOCS_DESC= Install documetation
|
|
|
|
EXAMPLES_DESC= Install examples
|
|
|
|
|
2013-09-20 22:10:23 +00:00
|
|
|
NO_STAGE= yes
|
2013-01-28 04:03:05 +00:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
|
|
|
PLIST_SUB+= EXAMPLES=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= EXAMPLES="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/../doc/draft-ietf-rmt-bb-pgmcc-03.txt ${DOCSDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/../doc/rfc3208.txt ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} examples ${EXAMPLESDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|