mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
4745bf8510
Approved by: portmgr (erwin)
42 lines
863 B
Makefile
42 lines
863 B
Makefile
# New ports collection makefile for: glsfcave
|
|
# Date created: 19 Mar 2008
|
|
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= glsfcave
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://user.ecc.u-tokyo.ac.jp/~g650192/glsfcave/ \
|
|
http://mirror.amdmi3.ru/distfiles/
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Control a ribbon to avoid hitting walls
|
|
|
|
USE_BZIP2= yes
|
|
USE_GL= glut
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
PORTDOCS= README
|
|
PLIST_FILES= bin/glsfcave
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${CC} -o glsfcave main.c -I${LOCALBASE}/include \
|
|
-L${LOCALBASE}/lib -lglut -lGL -lGLU
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/glsfcave ${PREFIX}/bin
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|