summaryrefslogtreecommitdiff
path: root/x11-toolkits/plib/Makefile
blob: 277020daf31d14e81b4ef4d00a2643b8eb96d2df (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
# New ports collection makefile for:	plib
# Date created:		26 June 1999
# Whom:			Brian Buchanan <brian@CSUA.Berkeley.EDU>
#
# $FreeBSD$
#

PORTNAME=		plib
PORTVERSION= 		1.2.0
CATEGORIES=		x11-toolkits
MASTER_SITES=		http://plib.sourceforge.net/dist/

MAINTAINER=		ports@FreeBSD.org

USE_X_PREFIX=		yes
USE_MESA=		yes
GNU_CONFIGURE=		yes
CONFIGURE_ENV=		CPPFLAGS=-I${X11BASE}/include
CONFIGURE_ARGS=		--includedir=$(PREFIX)/include/plib \
			--with-glut=${PREFIX}
USE_GMAKE=		yes
USE_NEWGCC=		yes
MANCOMPRESSED=		yes

pre-configure:
	${PERL} -pi -e "s:-O6 ::g" ${WRKSRC}/configure

.include <bsd.port.mk>