Date: Tue, 8 Apr 2014 07:15:52 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r350577 - head/net/httpry Message-ID: <201404080715.s387FqXQ072376@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Tue Apr 8 07:15:52 2014 New Revision: 350577 URL: http://svnweb.freebsd.org/changeset/ports/350577 QAT: https://qat.redports.org/buildarchive/r350577/ Log: - Support staging - Define DOCS option Modified: head/net/httpry/Makefile head/net/httpry/pkg-plist Modified: head/net/httpry/Makefile ============================================================================== --- head/net/httpry/Makefile Tue Apr 8 07:15:50 2014 (r350576) +++ head/net/httpry/Makefile Tue Apr 8 07:15:52 2014 (r350577) @@ -8,15 +8,12 @@ MASTER_SITES= http://dumpsterventures.co MAINTAINER= wxs@FreeBSD.org COMMENT= Packet sniffer designed for displaying and logging HTTP traffic -MAN1= httpry.1 - USE_RC_SUBR= httpry -OPTIONS_DEFINE= EXTRASCRIPTS +OPTIONS_DEFINE= EXTRASCRIPTS DOCS EXTRASCRIPTS_DESC= Install additional scripts -NO_STAGE= yes -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> .if ${PORT_OPTIONS:MEXTRASCRIPTS} PLIST_SUB= EXTRASCRIPTS="" @@ -28,17 +25,15 @@ PLIST_SUB= EXTRASCRIPTS="@comment " .endif do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 .if ${PORT_OPTIONS:MEXTRASCRIPTS} - ${MKDIR} ${PREFIX}/bin/httpry-scripts + @${MKDIR} ${STAGEDIR}${PREFIX}/bin/httpry-scripts (cd ${WRKSRC}/scripts/ && \ - ${COPYTREE_BIN} \* ${PREFIX}/bin/httpry-scripts "! -name *.bak") -.endif -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/doc/perl-tools ${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/doc/format-string ${DOCSDIR} + ${COPYTREE_BIN} \* ${STAGEDIR}${PREFIX}/bin/httpry-scripts "! -name *.bak") .endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/doc/perl-tools ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/doc/format-string ${STAGEDIR}${DOCSDIR} -.include <bsd.port.post.mk> +.include <bsd.port.mk> Modified: head/net/httpry/pkg-plist ============================================================================== --- head/net/httpry/pkg-plist Tue Apr 8 07:15:50 2014 (r350576) +++ head/net/httpry/pkg-plist Tue Apr 8 07:15:52 2014 (r350577) @@ -1,4 +1,5 @@ bin/httpry +man/man1/httpry.1.gz %%EXTRASCRIPTS%%bin/httpry-scripts/parse_log.pl %%EXTRASCRIPTS%%bin/httpry-scripts/rotate_log.pl %%EXTRASCRIPTS%%bin/httpry-scripts/process_logs
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404080715.s387FqXQ072376>