openbsd-ports/net/igmpproxy/Makefile
sthen 99d5e52b90 igmpproxy is a simple multicast routing daemon which uses IGMP
forwarding to dynamically route multicast traffic.  Routing is done
by defining an "upstream" interface on which the daemon acts as a
normal Multicast client, and one or more "downstream" interfaces
that serves clients on the destination networks. This is useful in
situations where other dynamic multicast routers cannot be used.

from markus with small adjustments.
ok markus
2008-02-08 19:30:51 +00:00

41 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2008/02/08 19:30:51 sthen Exp $
COMMENT = Multicast router utilizing IGMP forwarding
VERSION = 0.1-beta2
DISTNAME = igmpproxy-src-${VERSION}
PKGNAME = igmpproxy-${VERSION}
CATEGORIES = net
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=igmpproxy/}
HOMEPAGE = http://igmpproxy.sourceforge.net/
MAINTAINER = Markus Friedl <markus@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = c
USE_GMAKE = Yes
WRKDIST = ${WRKDIR}/igmpproxy/src
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/igmpproxy ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/../doc/igmpproxy.8 ${PREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/../doc/igmpproxy.conf.5 ${PREFIX}/man/man5
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/igmpproxy
${INSTALL_DATA} ${WRKSRC}/igmpproxy.conf \
${PREFIX}/share/examples/igmpproxy
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/igmpproxy
${INSTALL_DATA} ${FILESDIR}/README.OpenBSD \
${PREFIX}/share/doc/igmpproxy
@perl -pi -e 's,%%PREFIX%%,${TRUEPREFIX},g;' \
-e 's,%%SYSCONFDIR%%,${SYSCONFDIR},g' \
${PREFIX}/share/doc/igmpproxy/README.OpenBSD
.include <bsd.port.mk>