1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/net/dhcperf/Makefile
Baptiste Daroussin 5587763f34 cleanup plist
2014-12-20 19:23:19 +00:00

39 lines
1.3 KiB
Makefile

# Created by: Edwin Groothuis (edwin@mavetju.org)
# $FreeBSD$
PORTNAME= dhcperf
PORTVERSION= 1.0.1.0
CATEGORIES= net benchmarks
MASTER_SITES= ftp://ftp.nominum.com/pub/nominum/${PORTNAME}/${PORTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-1-freebsd-5.4-i386
MAINTAINER= edwin@mavetju.org
COMMENT= DHCPerf delivers accurate performance metrics of Dynamic Host Configuration Protocol service
LIB_DEPENDS= libc.so.5:${PORTSDIR}/misc/compat5x
ONLY_FOR_ARCHS= i386
ONLY_FOR_ARCHS_REASON= Rebuild of i386 package provided by Nominum.
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-1/
PLIST_FILES= bin/dhcperf \
share/doc/dhcperf/dcsevaltutorial.pdf \
share/doc/dhcperf/dhcperf.pdf man/man1/dhcperf.1.gz
post-extract:
${TAR} -C ${WRKSRC} -zxvf ${WRKSRC}/${PORTNAME}-${PORTVERSION}_1.tgz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/usr/local/nom/bin/dhcperf \
${STAGEDIR}${PREFIX}/bin/dhcperf
${INSTALL_DATA} ${WRKSRC}/usr/local/nom/man/man1/dhcperf.1 \
${STAGEDIR}${PREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/dhcperf
${INSTALL_DATA} ${WRKSRC}/usr/local/nom/doc/dhcperf/dcsevaltutorial.pdf \
${STAGEDIR}${PREFIX}/share/doc/dhcperf/dcsevaltutorial.pdf
${INSTALL_DATA} ${WRKSRC}/usr/local/nom/doc/dhcperf/dhcperf.pdf \
${STAGEDIR}${PREFIX}/share/doc/dhcperf/dhcperf.pdf
.include <bsd.port.mk>