summaryrefslogtreecommitdiff
path: root/games/kulki/Makefile
blob: 865d0d4d9998cb331190515aa63c9fb24e69909f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $NetBSD: Makefile,v 1.2 2001/03/12 22:33:47 zuntum Exp $
#

DISTNAME=	kulki-1.01
CATEGORIES=	games
MASTER_SITES=	http://www.cs.put.poznan.pl/adanilecki/
EXTRACT_SUFX=	.tgz

MAINTAINER=	zuntum@netbsd.org
HOMEPAGE=	http://www.cs.put.poznan.pl/adanilecki/
COMMENT=	Simple logic game - "balls"

DEPENDS+=	qt2>=2.2.3:../../x11/qt2

WRKSRC=		${WRKDIR}/kulki

USE_GMAKE=	YES

MAKE_ENV=	"MOC=${X11BASE}/qt2/bin/moc"			\
		"CXX=${CXX}"					\
		"CP=${CP}"					\
		"QTDIR=${X11BASE}/qt2"				\
		"CXXFLAGS=${CXXFLAGS}"				\
		"X11BASE=${X11BASE}"				\
		"PREFIX=${PREFIX}"				\
		"LOCALBASE=${LOCALBASE}"

do-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/kulki
	${INSTALL_PROGRAM} ${WRKSRC}/kulki ${PREFIX}/bin
	cd ${WRKSRC} &&						\
	${INSTALL_DATA} BUGS CHANGES FAQ README README.PL TODO	\
		help.html pomoc.html ${PREFIX}/share/kulki
	cd ${PREFIX}/share/kulki &&				\
		( ${GUNZIP_CMD} -c ${WRKSRC}/images.tgz | ${GTAR} xf - )

.include "../../mk/bsd.pkg.mk"