blob: cd3ae23ed2a57e75a52b025871af3b4a0391fe3e (
plain)
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
|
# New ports collection makefile for: plib
# Date created: 26 June 1999
# Whom: Brian Buchanan <brian@CSUA.Berkeley.EDU>
#
# $FreeBSD$
#
PORTNAME= plib
PORTVERSION= 1.8.4
PORTREVISION= 4
CATEGORIES= x11-toolkits
MASTER_SITES= http://plib.sourceforge.net/dist/
MAINTAINER= jylefort@FreeBSD.org
COMMENT= A portable library for joystick/sound/OpenGL GUI/3D math
USE_GL= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CXXFLAGS+= -fPIC
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${X11BASE}/lib ${PTHREAD_LIBS}"
post-build:
${CC} ${CFLAGS} -o ${WRKDIR}/plib-jscal ${FILESDIR}/jsBSDCal.c
post-install:
${INSTALL_PROGRAM} ${WRKDIR}/plib-jscal ${PREFIX}/bin
.include <bsd.port.mk>
|