a60ec4a3a4
While here, set the license (GPLv2). The other changes to the Makefile and the non-WWW part of pkg-descr are technically unnecessary, but in my opinion they are in improvement so I keep them. I did remove some of the suggested changes in the patch though. PR: 200294 Submitted by: Ports Fury
33 lines
754 B
Makefile
33 lines
754 B
Makefile
# Created by: dikshie <dikshie@lapi.itb.ac.id>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pathload
|
|
PORTVERSION= 1.3.2
|
|
CATEGORIES= benchmarks
|
|
MASTER_SITES= http://www.cc.gatech.edu/~dovrolis/bw-est/
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Measurement tool for network path available bandwidth estimation
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= gmake
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
|
|
MAKEFILE= makefile
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
PLIST_FILES= bin/pathload_rcv bin/pathload_snd
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/^int main/s/l_int32 argc/int argc/' \
|
|
${WRKSRC}/pathload_rcv.c
|
|
|
|
do-install:
|
|
(cd ${WRKSRC} && ${INSTALL_PROGRAM} pathload_rcv pathload_snd \
|
|
${STAGEDIR}${PREFIX}/bin)
|
|
|
|
.include <bsd.port.mk>
|