freebsd-ports/games/tux-aqfh/Makefile
Pete Fritchman 74a99e26a4 - update to 1.0.13
- fix style issues (^I^I -> ^I)
- replace patches w/regexps
- patch configure for pthread issues, not Makefile.in
- make pkg-comment more descriptive
- sort pkg-plist

PR:		32308
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
2001-11-28 22:36:19 +00:00

35 lines
913 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.13
CATEGORIES= games
MASTER_SITES= http://tuxaqfh.sourceforge.net/dist/
MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= ${X11BASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
USE_X_PREFIX= yes
USE_NEWGCC= yes
USE_MESA= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
CONFIGURE_ARGS= --with-plib=${X11BASE}
post-patch:
@${PERL} -pi -e 's|-O6|${PTHREAD_CFLAGS}|g ; \
s|-lpthread|${PTHREAD_LIBS}|g ; \
s|datadir/games|datadir|g' ${WRKSRC}/configure
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
's|\$$\(prefix\)/games|\@bindir\@|g ; \
s|\$$\(datadir\)/games|\$$\(datadir\)|g'
.include <bsd.port.mk>