- Support CC properly - Add LICENSE
Responsible Changed From-To: freebsd-ports-bugs->pawel I'll take it.
State Changed From-To: open->closed Committed. Thanks!
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> _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"