aboutsummaryrefslogtreecommitdiffstats
path: root/net/openpgm/Makefile
blob: 7b42a4adb055e303b6e915e9d9a00a2dd916b641 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$

PORTNAME=   openpgm
DISTVERSIONPREFIX=  release-
DISTVERSION=    5-2-122
PORTREVISION=   2
CATEGORIES= net devel

MAINTAINER= vg@FreeBSD.org
COMMENT=    Implementation of the PGM reliable multicast protocol

LICENSE=    LGPL21+
LICENSE_FILE=   ${WRKSRC}/COPYING

USE_GITHUB= yes
GH_ACCOUNT= steve-o

GNU_CONFIGURE=  yes
USES=       autoreconf pathfix perl5 libtool python:build
PATHFIX_MAKEFILEIN= Makefile.am
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:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/../doc/,} ${STAGEDIR}${DOCSDIR}
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})

.include <bsd.port.mk>