Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Nov 2013 01:47:45 +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: r333966 - head/games/znibbles
Message-ID:  <201311160147.rAG1ljXR077224@svn.freebsd.org>

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

Log:
  - Remove the indefinite article from COMMENT
  - Use options helpers
  - Add stage support

Modified:
  head/games/znibbles/Makefile

Modified: head/games/znibbles/Makefile
==============================================================================
--- head/games/znibbles/Makefile	Sat Nov 16 01:38:30 2013	(r333965)
+++ head/games/znibbles/Makefile	Sat Nov 16 01:47:44 2013	(r333966)
@@ -9,7 +9,7 @@ MASTER_SITES=	http://old.koalateam.com/f
 		http://www.jfouffa.com/vmallet/archives/
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A multi-player networked nibbles game
+COMMENT=	Multi-player networked nibbles game
 
 LICENSE=	GPLv2 GPLv3
 LICENSE_COMB=	dual
@@ -21,20 +21,16 @@ USES=		motif
 WANT_GNOME=	yes
 GNU_CONFIGURE=	yes
 
-MAN6=		nibbles.6 znibbles.6 znibblesX.6
-PLIST_FILES=	bin/nibbles bin/znibbles bin/znibblesX
+PLIST_FILES=	bin/nibbles bin/znibbles bin/znibblesX \
+		man/man6/nibbles.6.gz man/man6/znibbles.6.gz \
+		man/man6/znibblesX.6.gz
+
+GTK1_USE=		GNOME=gtk12
+GTK1_PLIST_FILES=	man/man6/gznibbles.6.gz bin/gznibbles
+GTK1_CONFIGURE_ENABLE=	gtk
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MGTK1}
-USE_GNOME+=	gtk12
-MAN6+=		gznibbles.6
-PLIST_FILES+=	bin/gznibbles
-.else
-CONFIGURE_ARGS+=--disable-gtk
-.endif
-
 post-extract:
 	@${RM} -f ${WRKSRC}/src/getopt.h
 #	@${LN} -sf /usr/include/getopt.h ${WRKSRC}/src
@@ -52,11 +48,11 @@ post-patch:
 .endfor
 
 post-install:
-	${INSTALL_MAN} ${WRKSRC}/doc/nibbles.6 ${MAN6PREFIX}/man/man6
-	${INSTALL_MAN} ${WRKSRC}/doc/znibbles.6 ${MAN6PREFIX}/man/man6
-	${INSTALL_MAN} ${WRKSRC}/doc/znibblesX.6 ${MAN6PREFIX}/man/man6
+	${INSTALL_MAN} ${WRKSRC}/doc/nibbles.6 ${STAGEDIR}${MAN6PREFIX}/man/man6
+	${INSTALL_MAN} ${WRKSRC}/doc/znibbles.6 ${STAGEDIR}${MAN6PREFIX}/man/man6
+	${INSTALL_MAN} ${WRKSRC}/doc/znibblesX.6 ${STAGEDIR}${MAN6PREFIX}/man/man6
 .if ${PORT_OPTIONS:MGTK1}
-	${INSTALL_MAN} ${WRKSRC}/doc/gznibbles.6 ${MAN6PREFIX}/man/man6
+	${INSTALL_MAN} ${WRKSRC}/doc/gznibbles.6 ${STAGEDIR}${MAN6PREFIX}/man/man6
 .endif
 
 .include <bsd.port.mk>



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