From owner-svn-ports-head@FreeBSD.ORG Thu Feb 27 09:45:12 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 19193CB9; Thu, 27 Feb 2014 09:45:12 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 052F012B9; Thu, 27 Feb 2014 09:45:12 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1R9jBtA065901; Thu, 27 Feb 2014 09:45:11 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1R9jBbV065900; Thu, 27 Feb 2014 09:45:11 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201402270945.s1R9jBbV065900@svn.freebsd.org> From: Emanuel Haupt Date: Thu, 27 Feb 2014 09:45:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346307 - head/sysutils/ods2 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: Thu, 27 Feb 2014 09:45:12 -0000 Author: ehaupt Date: Thu Feb 27 09:45:11 2014 New Revision: 346307 URL: http://svnweb.freebsd.org/changeset/ports/346307 QAT: https://qat.redports.org/buildarchive/r346307/ Log: - Support staging - Define DOCS option Modified: head/sysutils/ods2/Makefile Modified: head/sysutils/ods2/Makefile ============================================================================== --- head/sysutils/ods2/Makefile Thu Feb 27 09:43:19 2014 (r346306) +++ head/sysutils/ods2/Makefile Thu Feb 27 09:45:11 2014 (r346307) @@ -18,16 +18,15 @@ MAKE_ARGS= CCFLAGS="${CFLAGS}" PLIST_FILES= sbin/ods2 PORTDOCS= aareadme.too aareadme.txt -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|cc |${CC} |; /-oods2/ s|vmstime\.o|& -lcompat|' \ ${WRKSRC}/${MAKEFILE} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/ods2 ${PREFIX}/sbin -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/ods2 ${STAGEDIR}${PREFIX}/sbin + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include