freebsd-ports/net/openpgm/Makefile
Eitan Adler 334eb0fc61 This changes almost all the "gnomehack" only USE_GNOME cases to USES= pathfix.
If a port used other USE_GNOME items it was untouched.
The ports that used other USES were fixed by hand.

PR:		ports/177081
Reviewed by:	bapt
Approved by:	portmgr (miwi)
2013-03-19 13:04:30 +00:00

48 lines
1.1 KiB
Makefile

# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
# $FreeBSD$
# Do not forget fix version openpgm in devel/libxs
PORTNAME= openpgm
PORTVERSION= 5.2.122
CATEGORIES= net devel
MASTER_SITES= GOOGLE_CODE
DISTNAME= libpgm-${PORTVERSION}
MAINTAINER= g.veniamin@googlemail.com
COMMENT= Implementation of the PGM reliable multicast protocol
LICENSE= LGPL3
GNU_CONFIGURE= yes
USE_BZIP2= yes
USES= pathfix
USE_LDCONFIG= yes
USE_PERL5= 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} ${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>