From d203b12054ad82d30bac1f0a0c022b1393f861b3 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Mon, 5 Jan 2009 21:36:39 +0000 Subject: - Remove conditional checks for FreeBSD 5.x and older --- net/dhcperf/Makefile | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'net/dhcperf/Makefile') diff --git a/net/dhcperf/Makefile b/net/dhcperf/Makefile index 240b91fbc8c2..48d7e64c4614 100644 --- a/net/dhcperf/Makefile +++ b/net/dhcperf/Makefile @@ -14,6 +14,8 @@ 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= c.5:${PORTSDIR}/misc/compat5x + ONLY_FOR_ARCHS= i386 ONLY_FOR_ARCHS_REASON= Rebuild of i386 package provided by Nominum. NO_BUILD= yes @@ -25,16 +27,6 @@ PLIST_FILES= bin/dhcperf \ PLIST_DIRS= share/doc/dhcperf MAN1= dhcperf.1 -.include - -.if ${OSVERSION}<504000 -IGNORE= requires FreeBSD 5.4 or higher -.endif - -.if ${OSVERSION}>600000 -LIB_DEPENDS= c.5:${PORTSDIR}/misc/compat5x -.endif - post-extract: ${TAR} -C ${WRKSRC} -zxvf ${WRKSRC}/${PORTNAME}-${PORTVERSION}_1.tgz @@ -45,4 +37,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/usr/local/nom/doc/dhcperf/dcsevaltutorial.pdf ${PREFIX}/share/doc/dhcperf/dcsevaltutorial.pdf ${INSTALL_DATA} ${WRKSRC}/usr/local/nom/doc/dhcperf/dhcperf.pdf ${PREFIX}/share/doc/dhcperf/dhcperf.pdf -.include +.include -- cgit v1.2.3