30 lines
763 B
Makefile
30 lines
763 B
Makefile
# $NetBSD: Makefile,v 1.36 2003/06/06 12:10:07 jmmv Exp $
|
|
#
|
|
|
|
.include "../nethack-lib/Makefile.common"
|
|
|
|
PKGNAME= nethack-qt-${NETHACK_VERSION}
|
|
CATEGORIES+= x11
|
|
|
|
COMMENT= The QT-Enhanced X11 version of NetHack
|
|
|
|
DEPENDS+= nethack-lib-${NETHACK_VERSION}:../nethack-lib
|
|
|
|
USE_BUILDLINK2= # defined
|
|
USE_X11= # defined
|
|
|
|
ALL_TARGET= x11tiles nethack
|
|
INSTALL_TARGET= binfiles
|
|
MAKE_ENV+= GTYPE=-qt
|
|
CFLAGS+= -DPREFIX=\"\\\"${PREFIX}\\\"\"
|
|
|
|
ALLFILES= ${DISTFILES} # don't checksum shared patches
|
|
|
|
post-install:
|
|
@${CP} -f ${WRKSRC}/dat/x11tiles ${WRKSRC}/dat/tiles.xpm
|
|
@${INSTALL_DATA} ${WRKSRC}/dat/tiles.xpm ${PREFIX}/share/${NETHACK_DIR}
|
|
|
|
.include "../../graphics/xpm/buildlink2.mk"
|
|
.include "../../x11/qt2-libs/buildlink2.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|