mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- Convert USE_BZIP2 to USES
- Simplify docs installation
This commit is contained in:
parent
c4cae478c8
commit
74f4456c5c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353180
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user