blob: 34c991c5847f57520e22955a910da7d622123e69 (
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
|
# $NetBSD: Makefile,v 1.53 2008/09/26 15:10:08 joerg Exp $
#
.include "../../games/nethack-lib/Makefile.common"
PKGNAME= nethack-qt-${NETHACK_VERSION}
PKGREVISION= 6
CATEGORIES+= x11
COMMENT= The QT-Enhanced X11 version of NetHack
DEPENDS+= nethack-lib-${NETHACK_VERSION}{,nb*}:../../games/nethack-lib
USE_LANGUAGES= c c++
BUILD_TARGET= x11tiles nethack
INSTALL_TARGET= binfiles
MAKE_ENV+= GTYPE=-qt
CFLAGS+= -DPREFIX="\"${PREFIX}\""
post-install:
@${CP} -f ${WRKSRC}/dat/x11tiles ${WRKSRC}/dat/tiles.xpm
@${INSTALL_DATA} ${WRKSRC}/dat/tiles.xpm ${PREFIX}/share/${NETHACK_DIR}
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/qt3-libs/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|