aboutsummaryrefslogtreecommitdiff
path: root/sysutils/glload/Makefile
blob: c8363ba0e0ab0ddf8d1436bc46f3be45a9aa2d46 (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
# New ports collection makefile for:	glload
# Date created:			04 Dec 1998
# Whom:				Vanilla I. Shu <vanilla@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	glload
PORTVERSION=	0.4.2
PORTREVISION=	2
CATEGORIES=	sysutils
MASTER_SITES=	http://reality.exsgi.org/eile/misc/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Gl base load monitor

LIB_DEPENDS=	glut.4:${PORTSDIR}/graphics/libglut

WRKSRC=		${WRKDIR}/${PORTNAME}

USE_GL=		yes
MAKEFILE=	Makefile.FreeBSD
MAKE_ARGS=	CC="${CC}" \
		CFLAGS="${CFLAGS} -I${X11BASE}/include -DFreeBSD ${PTHREAD_CFLAGS}" \
		LDFLAGS="-L${X11BASE}/lib ${PTHREAD_LIBS}" \
		OBJS="get_load.o trackball.o glload.o texture.o screenShot.o"
ALL_TARGET=	glload

PLIST_FILES=	bin/glload

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/glload ${PREFIX}/bin

.include <bsd.port.mk>