From owner-svn-ports-head@FreeBSD.ORG Fri Apr 11 21:33:49 2014 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 4FC9054A; Fri, 11 Apr 2014 21:33: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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2310210D6; Fri, 11 Apr 2014 21:33:49 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s3BLXnCX059105; Fri, 11 Apr 2014 21:33:49 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s3BLXmok059103; Fri, 11 Apr 2014 21:33:48 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201404112133.s3BLXmok059103@svn.freebsd.org> From: Emanuel Haupt Date: Fri, 11 Apr 2014 21:33:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r351045 - head/net/empty 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, 11 Apr 2014 21:33:49 -0000 Author: ehaupt Date: Fri Apr 11 21:33:48 2014 New Revision: 351045 URL: http://svnweb.freebsd.org/changeset/ports/351045 QAT: https://qat.redports.org/buildarchive/r351045/ Log: - Support staging - Define EXAMPLES option - Define DOCS option Modified: head/net/empty/Makefile head/net/empty/pkg-plist Modified: head/net/empty/Makefile ============================================================================== --- head/net/empty/Makefile Fri Apr 11 21:33:41 2014 (r351044) +++ head/net/empty/Makefile Fri Apr 11 21:33:48 2014 (r351045) @@ -10,7 +10,6 @@ EXTRACT_SUFX= .tgz MAINTAINER= zmey20000@yahoo.com COMMENT= Expect-like tool for pure shell -MAN1= empty.1 DOCS= CHANGELOG COPYRIGHT README README.CYGWIN EXAMPLES= README em_ssh.sh em_ssh_2.sh em_sh.sh \ em_telnet.sh em_telnet_2.sh emsu.sh runtests.sh @@ -19,17 +18,14 @@ MAKE_ARGS+= CC=${CC} LICENSE= BSD LICENSE_FILE= ${WRKSRC}/COPYRIGHT -NO_STAGE= yes +OPTIONS_DEFINE= DOCS EXAMPLES + do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/empty ${PREFIX}/bin/ - @${INSTALL_MAN} ${MAN1:S,^,${WRKSRC}/,} ${MAN1PREFIX}/man/man1/ -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ -.endif -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - @${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/examples/,} ${EXAMPLESDIR}/ -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/empty ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/empty.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/examples/,} ${STAGEDIR}${EXAMPLESDIR} .include Modified: head/net/empty/pkg-plist ============================================================================== --- head/net/empty/pkg-plist Fri Apr 11 21:33:41 2014 (r351044) +++ head/net/empty/pkg-plist Fri Apr 11 21:33:48 2014 (r351045) @@ -1,4 +1,5 @@ bin/empty +man/man1/empty.1.gz %%PORTDOCS%%%%DOCSDIR%%/CHANGELOG %%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT %%PORTDOCS%%%%DOCSDIR%%/README