1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/net/openpgm/Makefile
Ruslan Makhmatkhanov d76cf9242e net/openpgm: fix build with python3
- fix build with python3 (trivial change)
- clarify license (it's LGPL21+) and add LICENSE_FILE
- simplify docs and examples installation
- whitespace fixes
- bump PORTREVISION because default package changed - examples
  now installed to EXAMPLESDIR instead of EXAMPLESDIR/examples)

Approved by:	vg (maintainer)
2015-01-21 09:10:20 +00:00

34 lines
870 B
Makefile

# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$
PORTNAME= openpgm
PORTVERSION= 5.2.122
PORTREVISION= 2
CATEGORIES= net devel
MASTER_SITES= GOOGLE_CODE
DISTNAME= libpgm-${PORTVERSION}
MAINTAINER= vg@FreeBSD.org
COMMENT= Implementation of the PGM reliable multicast protocol
LICENSE= LGPL21 # and newer
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
USES= pathfix perl5 tar:bzip2 libtool python:build
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/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>