Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2013 19:09:27 +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: r333714 - head/games/xisola
Message-ID:  <201311131909.rADJ9RjY054870@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Wed Nov 13 19:09:26 2013
New Revision: 333714
URL: http://svnweb.freebsd.org/changeset/ports/333714

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

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

Modified: head/games/xisola/Makefile
==============================================================================
--- head/games/xisola/Makefile	Wed Nov 13 18:15:08 2013	(r333713)
+++ head/games/xisola/Makefile	Wed Nov 13 19:09:26 2013	(r333714)
@@ -16,12 +16,13 @@ USES=		imake
 USE_XORG=	x11 xext xaw xmu xt sm ice
 NO_INSTALL_MANPAGES=	yes
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+PLIST_FILES=	bin/xisola
+PORTDOCS=	README
+
+OPTIONS_DEFINE=	DOCS
+
 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?201311131909.rADJ9RjY054870>