Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Nov 2013 03:28:16 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332575 - head/games/mindguard
Message-ID:  <201311030328.rA33SG1a074460@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Sun Nov  3 03:28:16 2013
New Revision: 332575
URL: http://svnweb.freebsd.org/changeset/ports/332575

Log:
  - Add stage support
  - Add DOCS option

Modified:
  head/games/mindguard/Makefile

Modified: head/games/mindguard/Makefile
==============================================================================
--- head/games/mindguard/Makefile	Sun Nov  3 01:50:12 2013	(r332574)
+++ head/games/mindguard/Makefile	Sun Nov  3 03:28:16 2013	(r332575)
@@ -35,18 +35,17 @@ DOCS=	algorithms.html antarctic.html aut
 	tikiroom.html un.html usage.html \
 	versions.html
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/mindguard ${PREFIX}/bin/mindguard
-	${MKDIR} ${PREFIX}/share/mindguard
+	${INSTALL_PROGRAM} ${WRKSRC}/mindguard ${STAGEDIR}${PREFIX}/bin/mindguard
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/mindguard
 .for i in ${CARRIERS}
-	${INSTALL_DATA} ${WRKSRC}/carriers/$i ${PREFIX}/share/mindguard
+	${INSTALL_DATA} ${WRKSRC}/carriers/$i ${STAGEDIR}${PREFIX}/share/mindguard
 .endfor
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${PREFIX}/share/doc/mindguard
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/mindguard
 .for i in ${DOCS}
-	${INSTALL_DATA} ${WRKSRC}/docs/$i ${PREFIX}/share/doc/mindguard
+	${INSTALL_DATA} ${WRKSRC}/docs/$i ${STAGEDIR}${PREFIX}/share/doc/mindguard
 .endfor
-.endif
 
 .include <bsd.port.mk>



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