aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-05-08 01:18:37 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-05-08 01:18:37 +0800
commit2b914cb541bd7841b745b8333c147b0c0d04d95c (patch)
treef7e049eb597ea771704b559227ec6613b9f21a7b /games
parentb3027388d60a773d2bede34d845bb2436b3216d6 (diff)
downloadfreebsd-ports-gnome-2b914cb541bd7841b745b8333c147b0c0d04d95c.tar.gz
freebsd-ports-gnome-2b914cb541bd7841b745b8333c147b0c0d04d95c.tar.zst
freebsd-ports-gnome-2b914cb541bd7841b745b8333c147b0c0d04d95c.zip
- Convert USE_BZIP2 to USES
- Simplify docs installation
Diffstat (limited to 'games')
-rw-r--r--games/glsfcave/Makefile8
1 files 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 <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>