From owner-svn-ports-head@FreeBSD.ORG Fri Dec 20 19:31:11 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E5806393; Fri, 20 Dec 2013 19:31:11 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D1CB61343; Fri, 20 Dec 2013 19:31:11 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBKJVBgY003908; Fri, 20 Dec 2013 19:31:11 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBKJVBNd003907; Fri, 20 Dec 2013 19:31:11 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201312201931.rBKJVBNd003907@svn.freebsd.org> From: Pawel Pekala Date: Fri, 20 Dec 2013 19:31:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337082 - head/security/sniff X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2013 19:31:12 -0000 Author: pawel Date: Fri Dec 20 19:31:11 2013 New Revision: 337082 URL: http://svnweb.freebsd.org/changeset/ports/337082 Log: - Respect CC/CFLAGS - Add LICENSE - Support staging PR: ports/184882 Submitted by: KATO Tsuguru Modified: head/security/sniff/Makefile (contents, props changed) Modified: head/security/sniff/Makefile ============================================================================== --- head/security/sniff/Makefile Fri Dec 20 19:25:49 2013 (r337081) +++ head/security/sniff/Makefile Fri Dec 20 19:31:11 2013 (r337082) @@ -1,23 +1,30 @@ # Created by: Rick & Samu # $FreeBSD$ -PORTNAME= sniff -PORTVERSION= 1.0 -CATEGORIES= security -MASTER_SITES= LOCAL/fenner +PORTNAME= sniff +PORTVERSION= 1.0 +CATEGORIES= security +MASTER_SITES= LOCAL/fenner -MAINTAINER= ports@FreeBSD.org -COMMENT= Program to sniff logins and passwords +MAINTAINER= ports@FreeBSD.org +COMMENT= Program to sniff logins and passwords -MAN1= sniff.1 +LICENSE= GPLv2 -HAS_CONFIGURE= yes -CONFIGURE_SCRIPT= configure +GNU_CONFIGURE= yes -PLIST_FILES= sbin/sniff +PLIST_FILES= sbin/sniff man/man1/sniff.1.gz -NO_STAGE= yes post-patch: - @${REINPLACE_CMD} -e 's|PREFIX=/usr/local|PREFIX=${PREFIX}|g' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e \ + 's|^CC.*|CC=@CC@| ; \ + s|^CFLAGS.*|CFLAGS=@CFLAGS@| ; \ + s|^PREFIX.*|PREFIX=@PREFIX@|' ${WRKSRC}/Makefile.in + +do-install: + (cd ${WRKSRC} && ${INSTALL_PROGRAM} sniff \ + ${STAGEDIR}${PREFIX}/sbin) + (cd ${WRKSRC} && ${INSTALL_MAN} sniff.1 \ + ${STAGEDIR}${MANPREFIX}/man/man1) .include