Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2013 02:01:23 +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: r333639 - head/games/xbomb
Message-ID:  <201311130201.rAD21NeV006153@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Wed Nov 13 02:01:23 2013
New Revision: 333639
URL: http://svnweb.freebsd.org/changeset/ports/333639

Log:
  - Add stage support
  - Add the pkg-plist file

Added:
  head/games/xbomb/pkg-plist   (contents, props changed)
Modified:
  head/games/xbomb/Makefile   (contents, props changed)

Modified: head/games/xbomb/Makefile
==============================================================================
--- head/games/xbomb/Makefile	Wed Nov 13 01:57:13 2013	(r333638)
+++ head/games/xbomb/Makefile	Wed Nov 13 02:01:23 2013	(r333639)
@@ -13,31 +13,18 @@ COMMENT=	Minesweeper with a couple of gr
 USES=		pkgconfig
 USE_XORG=	xaw7
 
-MAN6=		xbomb.6
-PLIST_FILES=	bin/xbomb \
-		lib/X11/app-defaults/XBomb \
-		lib/X11/xbomb/xbomb3.hi \
-		lib/X11/xbomb/xbomb4.hi \
-		lib/X11/xbomb/xbomb6.hi
-PLIST_DIRS=	lib/X11/xbomb
-
-NO_STAGE=	yes
 do-build:
 	cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} -DLOCALBASE=\"${LOCALBASE}\" \
 		`pkg-config --cflags xaw7` *.c -o xbomb \
 		`pkg-config --libs xaw7`
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/xbomb ${PREFIX}/bin/xbomb
-	@${CHOWN} root:games ${PREFIX}/bin/xbomb
-	@${CHMOD} 2755 ${PREFIX}/bin/xbomb
-	${INSTALL_MAN} ${WRKSRC}/xbomb.6 ${MANPREFIX}/man/man6/xbomb.6
-	${INSTALL_DATA} ${WRKSRC}/xbomb.ad ${PREFIX}/lib/X11/app-defaults/XBomb
-	@${MKDIR} ${PREFIX}/lib/X11/xbomb
-	@${TOUCH} ${PREFIX}/lib/X11/xbomb/xbomb3.hi
-	@${TOUCH} ${PREFIX}/lib/X11/xbomb/xbomb4.hi
-	@${TOUCH} ${PREFIX}/lib/X11/xbomb/xbomb6.hi
-	@${CHOWN} root:games ${PREFIX}/lib/X11/xbomb/xbomb?.hi
-	@${CHMOD} 664 ${PREFIX}/lib/X11/xbomb/xbomb?.hi
+	${INSTALL_PROGRAM} ${WRKSRC}/xbomb ${STAGEDIR}${PREFIX}/bin/xbomb
+	${INSTALL_MAN} ${WRKSRC}/xbomb.6 ${STAGEDIR}${MANPREFIX}/man/man6/xbomb.6
+	${INSTALL_DATA} ${WRKSRC}/xbomb.ad ${STAGEDIR}${PREFIX}/lib/X11/app-defaults/XBomb
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/xbomb
+	@${TOUCH} ${STAGEDIR}${PREFIX}/lib/X11/xbomb/xbomb3.hi
+	@${TOUCH} ${STAGEDIR}${PREFIX}/lib/X11/xbomb/xbomb4.hi
+	@${TOUCH} ${STAGEDIR}${PREFIX}/lib/X11/xbomb/xbomb6.hi
 
 .include <bsd.port.mk>

Added: head/games/xbomb/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/xbomb/pkg-plist	Wed Nov 13 02:01:23 2013	(r333639)
@@ -0,0 +1,15 @@
+@group games
+@mode 2755
+bin/xbomb
+@mode
+@group
+man/man6/xbomb.6.gz
+lib/X11/app-defaults/XBomb
+@group games
+@mode 664
+lib/X11/xbomb/xbomb3.hi
+lib/X11/xbomb/xbomb4.hi
+lib/X11/xbomb/xbomb6.hi
+@mode
+@group
+@dirrmtry lib/X11/xbomb



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