aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/glload/Makefile
blob: 96a8312abb39025a74c9b035669ff02cb6694853 (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
# 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_X_PREFIX=   yes
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>