Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2013 15:08:17 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335022 - head/games/tanglet
Message-ID:  <201311271508.rARF8HNW011125@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk>
 
 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 <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311271508.rARF8HNW011125>