From owner-svn-ports-head@FreeBSD.ORG Fri Dec 20 19:25:49 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BF471EF4; Fri, 20 Dec 2013 19:25:49 +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 AB5E512A6; Fri, 20 Dec 2013 19:25:49 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBKJPnFp000838; Fri, 20 Dec 2013 19:25:49 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBKJPn0B000837; Fri, 20 Dec 2013 19:25:49 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201312201925.rBKJPn0B000837@svn.freebsd.org> From: Pawel Pekala Date: Fri, 20 Dec 2013 19:25:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337081 - head/security/vlog 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:25:49 -0000 Author: pawel Date: Fri Dec 20 19:25:49 2013 New Revision: 337081 URL: http://svnweb.freebsd.org/changeset/ports/337081 Log: - Respect CC - Add LICENSE - Support staging PR: ports/184881 Submitted by: KATO Tsuguru Modified: head/security/vlog/Makefile Modified: head/security/vlog/Makefile ============================================================================== --- head/security/vlog/Makefile Fri Dec 20 19:18:18 2013 (r337080) +++ head/security/vlog/Makefile Fri Dec 20 19:25:49 2013 (r337081) @@ -6,24 +6,31 @@ PORTVERSION= 1.1f PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://inc2.com/download/ -DISTNAME= vlog-${PORTVERSION} EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org -COMMENT= A curses based real-time logfile viewer esp. useful for ipflog +COMMENT= Curses based real-time logfile viewer esp. useful for ipflog + +LICENSE= GPLv2 + +WRKSRC= ${WRKDIR}/${PORTNAME} -ALL_TARGET= it -MAKE_ARGS= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \ - LIBS="${PTHREAD_LIBS} -lcurses" -WRKSRC= ${WRKDIR}/vlog USES= perl5 +USE_PERL5= build +MAKE_ENV= LIBS="-lcurses -pthread" +ALL_TARGET= it -MAN1= vlog.1 -MANCOMPRESSED= no -PLIST_FILES= bin/vlog +PLIST_FILES= bin/vlog man/man1/vlog.1.gz -NO_STAGE= yes post-patch: - ${REINPLACE_CMD} -e "s@/usr/local@${PREFIX}@g" ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e \ + '/^CC/s|\([[:space:]]\)=|\1?=| ; \ + /strip/s|^|#|' ${WRKSRC}/Makefile + +do-install: + (cd ${WRKSRC} && ${INSTALL_PROGRAM} vlog \ + ${STAGEDIR}${PREFIX}/bin) + (cd ${WRKSRC} && ${INSTALL_MAN} vlog.1 \ + ${STAGEDIR}${MANPREFIX}/man/man1) .include