From 759c71e2751091a269f0223b1b3729cf7a4cd3b8 Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Sat, 20 Oct 2012 15:22:35 +0000 Subject: [PATCH] Convert to OptionsNG Feature safe: yes --- games/nonsense/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/games/nonsense/Makefile b/games/nonsense/Makefile index ba0c6329c87d..318abd59bcc4 100644 --- a/games/nonsense/Makefile +++ b/games/nonsense/Makefile @@ -13,6 +13,8 @@ NO_BUILD= defined MAN6= nonsense.6 +.include + post-configure: ${REINPLACE_CMD} -e "s,/usr/local,${PREFIX}," ${WRKSRC}/nonsense ${SED} -e "s^%%PREFIX%%^${PREFIX}^g" \ @@ -25,7 +27,7 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/*.data ${PREFIX}/share/nonsense/data ${INSTALL_DATA} ${WRKSRC}/*.template ${PREFIX}/share/nonsense/template ${INSTALL_MAN} ${WRKSRC}/${MAN6} ${PREFIX}/man/man6/ -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${PREFIX}/share/doc/nonsense ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/nonsense/ .endif