freebsd-ports/x11-toolkits/plib/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

31 lines
729 B
Makefile

# 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= 3
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_X_PREFIX= yes
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>