svn commit: r332146 - head/games/columns

Danilo Egea Gondolfo danilo at FreeBSD.org
Wed Oct 30 16:21:08 UTC 2013


Author: danilo
Date: Wed Oct 30 16:21:08 2013
New Revision: 332146
URL: http://svnweb.freebsd.org/changeset/ports/332146

Log:
  - Add stage support
  - Add LICENSE

Modified:
  head/games/columns/Makefile

Modified: head/games/columns/Makefile
==============================================================================
--- head/games/columns/Makefile	Wed Oct 30 16:20:58 2013	(r332145)
+++ head/games/columns/Makefile	Wed Oct 30 16:21:08 2013	(r332146)
@@ -13,6 +13,8 @@ DISTNAME=	Columns-${PORTVERSION}
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Nice little implementation of columns game for X Window System
 
+LICENSE=	GPLv2
+
 USE_SDL=	sdl
 GNU_CONFIGURE=	yes
 
@@ -21,13 +23,11 @@ PORTDOCS=	README
 
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+post-configure:
+	@${REINPLACE_CMD} -e '/chmod 0666/d' ${WRKSRC}/Makefile
 
 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-head mailing list