svn commit: r303774 - head/games/secretmaryochronicles
Dmitry Marakasov
amdmi3 at FreeBSD.org
Thu Sep 6 15:55:48 UTC 2012
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 at 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>
More information about the svn-ports-all
mailing list