svn commit: r349331 - head/games/braincurses
Emanuel Haupt
ehaupt at FreeBSD.org
Thu Mar 27 12:36:18 UTC 2014
Author: ehaupt
Date: Thu Mar 27 12:36:18 2014
New Revision: 349331
URL: http://svnweb.freebsd.org/changeset/ports/349331
QAT: https://qat.redports.org/buildarchive/r349331/
Log:
Support staging
Modified:
head/games/braincurses/Makefile
Modified: head/games/braincurses/Makefile
==============================================================================
--- head/games/braincurses/Makefile Thu Mar 27 12:29:54 2014 (r349330)
+++ head/games/braincurses/Makefile Thu Mar 27 12:36:18 2014 (r349331)
@@ -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>
More information about the svn-ports-head
mailing list