freebsd-ports/games/pipewalker/Makefile
Dmitry Marakasov f9056da33c PipeWalker is a clone of the NetWalk game.
This is a puzzle game where pieces of a computer network are to be
turned in the right/left direction to make all computers connected
to the same network.

WWW: http://pipewalker.sourceforge.net/
2009-08-12 00:27:07 +00:00

39 lines
906 B
Makefile

# New ports collection makefile for: pipewalker
# Date created: 11 Aug 2009
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= pipewalker
PORTVERSION= 0.7.2
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
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
CPPFLAGS="-I${LOCALBASE}/include"
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>