27 lines
692 B
Makefile
27 lines
692 B
Makefile
# $NetBSD: Makefile,v 1.49 2006/02/05 23:09:20 joerg Exp $
|
|
#
|
|
|
|
.include "../../games/nethack-lib/Makefile.common"
|
|
|
|
PKGNAME= nethack-qt-${NETHACK_VERSION}
|
|
PKGREVISION= 5
|
|
CATEGORIES+= x11
|
|
|
|
COMMENT= The QT-Enhanced X11 version of NetHack
|
|
|
|
DEPENDS+= nethack-lib-${NETHACK_VERSION}nb1:../../games/nethack-lib
|
|
|
|
|
|
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 "../../graphics/xpm/buildlink3.mk"
|
|
.include "../../x11/qt3-libs/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|