aboutsummaryrefslogtreecommitdiff
path: root/misc/mbuffer
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-06-03 07:40:32 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-06-03 07:40:32 +0000
commit549d97656808cd33641c54bb228b4ed8a2252bad (patch)
tree139d78708e5d13f261be3266ece27a42dbf5fdaf /misc/mbuffer
parent4aed171d2817123b9dd1edc5c480ed96d1a62a77 (diff)
downloadports-549d97656808cd33641c54bb228b4ed8a2252bad.tar.gz
ports-549d97656808cd33641c54bb228b4ed8a2252bad.zip
- adoption of optionsNG
- trim historical headers Approved by: portmgr (bapt)
Notes
Notes: svn path=/head/; revision=319758
Diffstat (limited to 'misc/mbuffer')
-rw-r--r--misc/mbuffer/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/misc/mbuffer/Makefile b/misc/mbuffer/Makefile
index 3d7369e797c2..ab0f95b94757 100644
--- a/misc/mbuffer/Makefile
+++ b/misc/mbuffer/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: mbuffer
-# Date created: Dec 14 2006
-# Whom: Rong-En Fan <rafan@FreeBSD.org>
-#
+# Created by: Rong-En Fan <rafan@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= mbuffer
PORTVERSION= 2011.07.24
@@ -14,7 +10,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
EXTRACT_SUFX= .tgz
MAINTAINER= rafan@FreeBSD.org
-COMMENT= A tool for buffering data streams
+COMMENT= Tool for buffering data streams
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
@@ -27,11 +23,14 @@ PLIST_FILES= bin/mbuffer
MAN1= ${PORTNAME}.1
-OPTIONS= MHASH "Use mhash for hash generation" on
+OPTIONS_DEFINE= MHASH
+MHASH_DESC= Use mhash for hash generation
+
+OPTIONS_DEFAULT= MHASH
.include <bsd.port.options.mk>
-.if !defined(WITHOUT_MHASH)
+.if ${PORT_OPTIONS:MMHASH}
LIB_DEPENDS+= mhash.2:${PORTSDIR}/security/mhash
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib