diff options
-rw-r--r-- | games/braincurses/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/games/braincurses/Makefile b/games/braincurses/Makefile index 82016b8a0554..47893474b40c 100644 --- a/games/braincurses/Makefile +++ b/games/braincurses/Makefile @@ -12,7 +12,8 @@ COMMENT= A clone of the Mastermind game LDFLAGS+= -lncurses WRKSRC= ${WRKDIR}/${PORTNAME} -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + do-build: cd ${WRKSRC} && \ ${CXX} -c -o curses/windows.o curses/windows.cpp && \ @@ -20,11 +21,8 @@ do-build: ${CXX} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} curses/windows.o ${PORTNAME}.o do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README .include <bsd.port.mk> |