svn commit: r333793 - head/games/xoids

Danilo Egea Gondolfo danilo at FreeBSD.org
Thu Nov 14 21:16:48 UTC 2013


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>


More information about the svn-ports-all mailing list