diff options
author | jgh <jgh@FreeBSD.org> | 2013-06-03 15:40:32 +0800 |
---|---|---|
committer | jgh <jgh@FreeBSD.org> | 2013-06-03 15:40:32 +0800 |
commit | 52a7f6afe5d708bc90a832b94b5de846e40e696a (patch) | |
tree | 139d78708e5d13f261be3266ece27a42dbf5fdaf /misc/mbuffer | |
parent | 0e37d75f8504b7a5967a8f30908af13dcb9e2632 (diff) | |
download | freebsd-ports-gnome-52a7f6afe5d708bc90a832b94b5de846e40e696a.tar.gz freebsd-ports-gnome-52a7f6afe5d708bc90a832b94b5de846e40e696a.tar.zst freebsd-ports-gnome-52a7f6afe5d708bc90a832b94b5de846e40e696a.zip |
- adoption of optionsNG
- trim historical headers
Approved by: portmgr (bapt)
Diffstat (limited to 'misc/mbuffer')
-rw-r--r-- | misc/mbuffer/Makefile | 15 |
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 |