1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
freebsd-ports/net/openpgm/Makefile
Vanilla I. Shu b93871df46 1: Stagify.
2: switch to USES=libtool, bump version.

Approved by:	portmgr@
2014-06-23 13:59:24 +00:00

47 lines
1.0 KiB
Makefile

# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$
PORTNAME= openpgm
PORTVERSION= 5.2.122
PORTREVISION= 1
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
USES= pathfix perl5 tar:bzip2 libtool
USE_LDCONFIG= yes
USE_PYTHON= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/openpgm/pgm
OPTIONS_DEFINE= DOCS EXAMPLES
DOCS_DESC= Install documetation
EXAMPLES_DESC= Install examples
.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} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/../doc/draft-ietf-rmt-bb-pgmcc-03.txt ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/../doc/rfc3208.txt ${STAGEDIR}${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} examples ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.mk>