From owner-svn-ports-head@FreeBSD.ORG Wed Nov 27 15:08:17 2013 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 8629EE64; Wed, 27 Nov 2013 15:08:17 +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 760F825A1; Wed, 27 Nov 2013 15:08:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rARF8Hao011126; Wed, 27 Nov 2013 15:08:17 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rARF8HNW011125; Wed, 27 Nov 2013 15:08:17 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201311271508.rARF8HNW011125@svn.freebsd.org> From: Rusmir Dusko Date: Wed, 27 Nov 2013 15:08:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335022 - head/games/tanglet 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.16 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: Wed, 27 Nov 2013 15:08:17 -0000 Author: nemysis Date: Wed Nov 27 15:08:16 2013 New Revision: 335022 URL: http://svnweb.freebsd.org/changeset/ports/335022 Log: - Add DOCS Option Support STAGEDIR Approved by: pawel / wg (mentors, implicit) Modified: head/games/tanglet/Makefile Modified: head/games/tanglet/Makefile ============================================================================== --- head/games/tanglet/Makefile Wed Nov 27 15:07:37 2013 (r335021) +++ head/games/tanglet/Makefile Wed Nov 27 15:08:16 2013 (r335022) @@ -21,7 +21,8 @@ INSTALLS_ICONS= yes PORTDOCS= CREDITS ChangeLog NEWS -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + .include post-patch: @@ -29,11 +30,10 @@ post-patch: ${WRKSRC}/tanglet.pro post-install: - ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps/ + ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/ -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include