From owner-svn-ports-all@FreeBSD.ORG Sun Jan 5 12:55:36 2014 Return-Path: Delivered-To: svn-ports-all@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 D7F2A4BB; Sun, 5 Jan 2014 12:55:36 +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 C41161D8E; Sun, 5 Jan 2014 12:55:36 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s05CtaNP070039; Sun, 5 Jan 2014 12:55:36 GMT (envelope-from antoine@svn.freebsd.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s05Cta13070038; Sun, 5 Jan 2014 12:55:36 GMT (envelope-from antoine@svn.freebsd.org) Message-Id: <201401051255.s05Cta13070038@svn.freebsd.org> From: Antoine Brodin Date: Sun, 5 Jan 2014 12:55:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r338761 - head/x11/swarp X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jan 2014 12:55:36 -0000 Author: antoine Date: Sun Jan 5 12:55:36 2014 New Revision: 338761 URL: http://svnweb.freebsd.org/changeset/ports/338761 Log: - Stage support - Add missing OPTIONS_DEFINE Modified: head/x11/swarp/Makefile Modified: head/x11/swarp/Makefile ============================================================================== --- head/x11/swarp/Makefile Sun Jan 5 12:50:47 2014 (r338760) +++ head/x11/swarp/Makefile Sun Jan 5 12:55:36 2014 (r338761) @@ -22,7 +22,8 @@ MAKE_ARGS= LDFLAGS="${LDFLAGS} -L${LOCAL PORTDOCS= README PLIST_FILES= bin/swarp -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + .include post-patch: @@ -30,8 +31,8 @@ post-patch: post-install: .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .endif .include