Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2013 21:16:48 +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: r333793 - head/games/xoids
Message-ID:  <201311142116.rAELGmmP092031@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Thu Nov 14 21:16:47 2013
New Revision: 333793
URL: http://svnweb.freebsd.org/changeset/ports/333793

Log:
  - Add stage support
  - Add DOCS option
  - Use PLIST_FILES instead of pkg-plist

Deleted:
  head/games/xoids/pkg-plist
Modified:
  head/games/xoids/Makefile

Modified: head/games/xoids/Makefile
==============================================================================
--- head/games/xoids/Makefile	Thu Nov 14 21:12:49 2013	(r333792)
+++ head/games/xoids/Makefile	Thu Nov 14 21:16:47 2013	(r333793)
@@ -13,18 +13,18 @@ COMMENT=	X Window Asteroids style game w
 
 USES=		imake
 USE_XORG=	xpm
-MAN6=		xoids.6
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+PLIST_FILES=	bin/xoids \
+		man/man6/xoids.6.gz
+PORTDOCS=	README
+
+OPTIONS_DEFINE=	DOCS
 
 post-extract:
 	@${CP} ${WRKSRC}/xoids.1x ${WRKSRC}/xoids.man
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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