Date: Fri, 20 Dec 2013 19:25:49 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337081 - head/security/vlog Message-ID: <201312201925.rBKJPn0B000837@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <tkato432@yahoo.com> 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 <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312201925.rBKJPn0B000837>