mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
3e4ed01146
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
39 lines
1015 B
Makefile
39 lines
1015 B
Makefile
# New ports collection makefile for: tux-aqfh
|
|
# Date created: 10 Jun 2001
|
|
# Whom: Alexander Langer <alex@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tux_aqfh
|
|
PORTVERSION= 1.0.14
|
|
PORTREVISION= 5
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://tuxaqfh.sourceforge.net/dist/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= An OpenGL adventure game
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
|
|
|
|
USE_GL= glut
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
CONFIGURE_ARGS= --with-plib=${LOCALBASE}
|
|
|
|
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
LDFLAGS= -L${LOCALBASE}/lib -lusbhid ${PTHREAD_LIBS}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|-lplibsl -lplibssg|-lplibsl -lplibjs -lplibssg|g ; \
|
|
s|-O6||g ; \
|
|
s|-lpthread||g ; \
|
|
s|datadir/games|datadir|g' ${WRKSRC}/configure
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's|$$(prefix)/games|@bindir@|g ; \
|
|
s|$$(datadir)/games|$$(datadir)|g'
|
|
|
|
.include <bsd.port.mk>
|