blob: 91159dc497f273bb02af1c9c4ff428784cd34b08 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# New ports collection makefile for: glsfcave
# Date created: 19 Mar 2008
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#
PORTNAME= glsfcave
PORTVERSION= 1.0
CATEGORIES= games
MASTER_SITES= http://user.ecc.u-tokyo.ac.jp/~g650192/glsfcave/ \
http://www.amdmi3.ru/distfiles/
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Control a ribbon to avoid hitting walls
LIB_DEPENDS= glut.4:${PORTSDIR}/graphics/libglut
USE_BZIP2= yes
USE_GL= yes
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>
|