Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Sep 2012 15:55:48 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r303774 - head/games/secretmaryochronicles
Message-ID:  <201209061555.q86Ftmeo045781@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Sep  6 15:55:47 2012
New Revision: 303774
URL: http://svn.freebsd.org/changeset/ports/303774

Log:
  - Add optionsNG
  
  PR:		171194
  Submitted by:	nemysis <nemysis@gmx.ch>

Modified:
  head/games/secretmaryochronicles/Makefile

Modified: head/games/secretmaryochronicles/Makefile
==============================================================================
--- head/games/secretmaryochronicles/Makefile	Thu Sep  6 15:55:28 2012	(r303773)
+++ head/games/secretmaryochronicles/Makefile	Thu Sep  6 15:55:47 2012	(r303774)
@@ -37,6 +37,10 @@ DATADIR=	${PREFIX}/share/smc
 
 WRKSRC=		${WRKDIR}/smc
 
+PORTDOCS=	controls.html history.html style.css
+
+.include <bsd.port.options.mk>
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/autogen.sh
 
@@ -45,14 +49,12 @@ run-autotools:
 	@${REINPLACE_CMD} -e '/^LIBS =/ s|$$|$$(INTLLIBS)|' \
 		${WRKSRC}/src/Makefile.in
 
-.if !defined(NOPORTDOCS)
-PORTDOCS=	controls.html history.html style.css
-
+.if ${PORT_OPTIONS:MDOCS}
 post-install:
 	${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
+.  for f in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR}
-.endfor
+.  endfor
 .endif
 
 .include <bsd.port.mk>



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