9c9963fbda
- Remove old MASTER_SITES
40 lines
863 B
Makefile
40 lines
863 B
Makefile
# New ports collection makefile for: nepim
|
|
# Date created: 19th September 2005
|
|
# Whom: Marcin Jessa <yazzy@yazzy.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= nepim
|
|
PORTVERSION= 0.53
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
|
MASTER_SITE_SUBDIR= nepim
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Tool for measuring available bandwidth between hosts
|
|
|
|
LIB_DEPENDS= oop.4:${PORTSDIR}/devel/liboop
|
|
|
|
USE_GMAKE= yes
|
|
ALL_TARGET= default
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
|
|
PLIST_FILES= bin/nepim
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
|
|
${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/nepim ${PREFIX}/bin
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 700048
|
|
CFLAGS+= -DHAVE_IP_MREQ -DHAVE_IPV6_MREQ
|
|
.else
|
|
CFLAGS+= -DHAVE_IP_MREQ -DHAVE_IPV6_MREQ -DHAVE_IP_MREQN \
|
|
-DHAVE_GROUP_SOURCE_REQ
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|