Date: Tue, 17 Dec 2013 02:51:09 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/184881: security/vlog: Support CC properly Message-ID: <20131217025109.6c5a11ab2920671aa8be3848@yahoo.com> Resent-Message-ID: <201312161810.rBGIAMpE016471@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 184881 >Category: ports >Synopsis: security/vlog: Support CC properly >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Dec 16 18:10:22 UTC 2013 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 8.4-RELEASE-p4 i386 >Organization: >Environment: >Description: - Support CC properly - Add LICENSE >How-To-Repeat: >Fix: diff -urN /usr/ports/security/vlog/Makefile security/vlog/Makefile --- /usr/ports/security/vlog/Makefile 2013-11-06 22:03:00.000000000 +0900 +++ security/vlog/Makefile 2013-12-17 00:00:00.000000000 +0900 @@ -6,24 +6,31 @@ 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 <bsd.port.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131217025109.6c5a11ab2920671aa8be3848>