From 74f4456c5cbe41b191d67254a04ce337f09fe158 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 7 May 2014 17:18:37 +0000 Subject: [PATCH] - Convert USE_BZIP2 to USES - Simplify docs installation --- games/glsfcave/Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/games/glsfcave/Makefile b/games/glsfcave/Makefile index 801e33debc62..4c6cf61cef43 100644 --- a/games/glsfcave/Makefile +++ b/games/glsfcave/Makefile @@ -11,7 +11,7 @@ MASTER_SITES= http://user.ecc.u-tokyo.ac.jp/~g650192/glsfcave/ \ 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 - 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