2009-08-12 00:27:07 +00:00
|
|
|
# New ports collection makefile for: pipewalker
|
|
|
|
# Date created: 11 Aug 2009
|
|
|
|
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pipewalker
|
2010-07-06 12:20:02 +00:00
|
|
|
PORTVERSION= 0.8.3
|
2012-02-18 10:18:33 +00:00
|
|
|
PORTREVISION= 1
|
2009-08-12 00:27:07 +00:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= SF
|
|
|
|
EXTRACT_SUFX= -src.tar.gz
|
|
|
|
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
|
|
COMMENT= A clone of the NetWalk game
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_SDL= sdl
|
|
|
|
USE_GL= gl glu
|
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
|
2011-09-23 22:26:39 +00:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
2009-08-12 00:27:07 +00:00
|
|
|
|
|
|
|
PORTDOCS= *
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${CHMOD} a+x ${WRKSRC}/install-sh
|
|
|
|
@${REINPLACE_CMD} -e 's|(datadir)/games|(datadir)|' \
|
|
|
|
${WRKSRC}/data/Makefile.in ${WRKSRC}/src/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e '/^install-data-am/ s|install-pkgmenudataDATA||' \
|
|
|
|
${WRKSRC}/extra/Makefile.in
|
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
@${REINPLACE_CMD} -e '/^install-data-am/ s|install-pkgdocdataDATA||' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|