[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / games / pacman

File: [cvs.NetBSD.org] / pkgsrc / games / pacman / Attic / Makefile (download)

Revision 1.22, Sat Jan 24 13:30:56 2004 UTC (15 years, 10 months ago) by grant
Branch: MAIN
CVS Tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.21: +2 -2 lines

replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make.

# $NetBSD: Makefile,v 1.22 2004/01/24 13:30:56 grant Exp $

DISTNAME=		Pacman-0.3-CVS-00-11-17
PKGNAME=		Pacman-0.3
PKGREVISION=		2
CATEGORIES=		games x11
MASTER_SITES=		http://dark.x.dtu.dk/~mbn/clanlib/download/snapshots/Games/

MAINTAINER=		root@garbled.net
HOMEPAGE=		http://www.clanlib.org/
COMMENT=		Pacman, a small demonstration game for ClanLib

USE_BUILDLINK2=		yes
USE_X11BASE=		yes
USE_GNU_TOOLS+=		make
GNU_CONFIGURE=		yes

# needs a valid X display to compile its datafiles
.ifndef DISPLAY
INTERACTIVE_STAGE=	build
.endif

pre-configure:
	${CP} ${FILESDIR}/configure ${WRKSRC}
	${SED} -e 's@/usr/share@${PREFIX}/share@' < \
		${WRKSRC}/Sources/config.h.in > ${WRKSRC}/foo
	${MV} ${WRKSRC}/foo ${WRKSRC}/Sources/config.h.in

pre-build:
	@if [ "${DISPLAY}" = "" ]; then \
		${ECHO} Please set the DISPLAY variable to a valid display; \
		${ECHO} before compiling ${PKGNAME}.;			    \
		exit 1;							    \
	fi;

.include "../../graphics/clanlib/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"