Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2014 07:47:19 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348445 - head/games/crafty-open-medium
Message-ID:  <201403170747.s2H7lJhk024565@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Mon Mar 17 07:47:19 2014
New Revision: 348445
URL: http://svnweb.freebsd.org/changeset/ports/348445
QAT: https://qat.redports.org/buildarchive/r348445/

Log:
  Support staging

Modified:
  head/games/crafty-open-medium/Makefile
  head/games/crafty-open-medium/pkg-plist

Modified: head/games/crafty-open-medium/Makefile
==============================================================================
--- head/games/crafty-open-medium/Makefile	Mon Mar 17 07:47:13 2014	(r348444)
+++ head/games/crafty-open-medium/Makefile	Mon Mar 17 07:47:19 2014	(r348445)
@@ -20,7 +20,6 @@ USES=		zip
 NO_WRKSUBDIR=	yes
 CONFLICTS=	crafty-open-enormous-* crafty-open-large-* crafty-open-default-*
 
-NO_STAGE=	yes
 do-build:
 	@${ECHO_MSG} '================================================================'
 	@${ECHO_MSG} 'Ignore warnings about illegal moves.  These warnings are normal.'
@@ -28,9 +27,10 @@ do-build:
 	(${CHOWN} nobody ${WRKDIR}; cd ${WRKDIR}; crafty <${FILESDIR}/book-building)
 
 do-install:
-	${MKDIR} ${PREFIX}/lib/crafty
-	${INSTALL_DATA} ${WRKDIR}/book.bin ${PREFIX}/lib/crafty/book.bin
-	${CHOWN} nobody:nogroup ${PREFIX}/lib/crafty/book.bin
-	${CHMOD} 664 ${PREFIX}/lib/crafty/book.bin
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/crafty
+	${INSTALL_DATA} ${WRKDIR}/book.bin \
+		${STAGEDIR}${PREFIX}/lib/crafty/book.bin
+	${CHOWN} nobody:nogroup ${STAGEDIR}${PREFIX}/lib/crafty/book.bin
+	${CHMOD} 664 ${STAGEDIR}${PREFIX}/lib/crafty/book.bin
 
 .include <bsd.port.mk>

Modified: head/games/crafty-open-medium/pkg-plist
==============================================================================
--- head/games/crafty-open-medium/pkg-plist	Mon Mar 17 07:47:13 2014	(r348444)
+++ head/games/crafty-open-medium/pkg-plist	Mon Mar 17 07:47:19 2014	(r348445)
@@ -1 +1,2 @@
 lib/crafty/book.bin
+@dirrmtry lib/crafty



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