1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/net/openpgm/Makefile

48 lines
1010 B
Makefile
Raw Normal View History

# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$
PORTNAME= openpgm
PORTVERSION= 5.2.122
CATEGORIES= net devel
MASTER_SITES= GOOGLE_CODE
DISTNAME= libpgm-${PORTVERSION}
MAINTAINER= vg@FreeBSD.org
COMMENT= Implementation of the PGM reliable multicast protocol
LICENSE= LGPL3
GNU_CONFIGURE= yes
USE_BZIP2= yes
USES= pathfix perl5
USE_LDCONFIG= yes
USE_PYTHON= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/openpgm/pgm
OPTIONS_DEFINE= DOCS EXAMPLES
DOCS_DESC= Install documetation
EXAMPLES_DESC= Install examples
NO_STAGE= yes
.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>