Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Nov 2013 01:04:26 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333953 - head/games/xsokoban
Message-ID:  <201311160104.rAG14QEl062727@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Sat Nov 16 01:04:26 2013
New Revision: 333953
URL: http://svnweb.freebsd.org/changeset/ports/333953

Log:
  - Add stage support

Modified:
  head/games/xsokoban/Makefile
  head/games/xsokoban/pkg-plist

Modified: head/games/xsokoban/Makefile
==============================================================================
--- head/games/xsokoban/Makefile	Sat Nov 16 01:01:03 2013	(r333952)
+++ head/games/xsokoban/Makefile	Sat Nov 16 01:04:26 2013	(r333953)
@@ -15,22 +15,19 @@ USES=		imake
 USE_XORG=	xpm
 WRKSRC=		${WRKDIR}/xsokoban
 ALL_TARGET=	xsokoban
-MAN1=		xsokoban.1
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/config.h
 
 post-install:
-	@${MKDIR} ${PREFIX}/lib/X11/xsokoban/scores \
-		${PREFIX}/lib/X11/xsokoban/bitmaps/defaults \
-		${PREFIX}/lib/X11/xsokoban/saves \
-		${PREFIX}/lib/X11/xsokoban/screens
-	@${CHMOD} 777 ${PREFIX}/lib/X11/xsokoban/scores
-	@${CHMOD} 775 ${PREFIX}/lib/X11/xsokoban/saves
-	@${INSTALL_DATA} ${WRKSRC}/screens/* ${PREFIX}/lib/X11/xsokoban/screens
-	@${INSTALL_DATA} ${WRKSRC}/bitmaps/defaults/* \
-		${PREFIX}/lib/X11/xsokoban/bitmaps/defaults
-	@${CAT} ${PKGMESSAGE}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/xsokoban/scores \
+		${STAGEDIR}${PREFIX}/lib/X11/xsokoban/bitmaps/defaults \
+		${STAGEDIR}${PREFIX}/lib/X11/xsokoban/saves \
+		${STAGEDIR}${PREFIX}/lib/X11/xsokoban/screens
+	@${CHMOD} 777 ${STAGEDIR}${PREFIX}/lib/X11/xsokoban/scores
+	@${CHMOD} 775 ${STAGEDIR}${PREFIX}/lib/X11/xsokoban/saves
+	${INSTALL_DATA} ${WRKSRC}/screens/* ${STAGEDIR}${PREFIX}/lib/X11/xsokoban/screens
+	${INSTALL_DATA} ${WRKSRC}/bitmaps/defaults/* \
+		${STAGEDIR}${PREFIX}/lib/X11/xsokoban/bitmaps/defaults
 
 .include <bsd.port.mk>

Modified: head/games/xsokoban/pkg-plist
==============================================================================
--- head/games/xsokoban/pkg-plist	Sat Nov 16 01:01:03 2013	(r333952)
+++ head/games/xsokoban/pkg-plist	Sat Nov 16 01:04:26 2013	(r333953)
@@ -1,4 +1,5 @@
 bin/xsokoban
+man/man1/xsokoban.1.gz
 lib/X11/xsokoban/bitmaps/defaults/centerwall.xbm
 lib/X11/xsokoban/bitmaps/defaults/centerwall.xpm
 lib/X11/xsokoban/bitmaps/defaults/east_twall.xbm



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