Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 May 2014 17:18:37 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r353180 - head/games/glsfcave
Message-ID:  <201405071718.s47HIbGX084547@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed May  7 17:18:37 2014
New Revision: 353180
URL: http://svnweb.freebsd.org/changeset/ports/353180
QAT: https://qat.redports.org/buildarchive/r353180/

Log:
  - Convert USE_BZIP2 to USES
  - Simplify docs installation

Modified:
  head/games/glsfcave/Makefile

Modified: head/games/glsfcave/Makefile
==============================================================================
--- head/games/glsfcave/Makefile	Wed May  7 17:15:52 2014	(r353179)
+++ head/games/glsfcave/Makefile	Wed May  7 17:18:37 2014	(r353180)
@@ -11,7 +11,7 @@ MASTER_SITES=	http://user.ecc.u-tokyo.ac
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Control a ribbon to avoid hitting walls
 
-USE_BZIP2=	yes
+USES=		tar:bzip2
 USE_GL=		glut
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
@@ -21,17 +21,13 @@ PORTDOCS=	*
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 do-build:
 	cd ${WRKSRC} && ${CC} -o glsfcave main.c -I${LOCALBASE}/include \
 		-L${LOCALBASE}/lib -lglut -lGL -lGLU
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/glsfcave ${STAGEDIR}${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
-.endif
+	${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?201405071718.s47HIbGX084547>