pkgsrc/games/nethack-x11/Makefile

26 lines
567 B
Makefile

# $NetBSD: Makefile,v 1.21 2003/07/21 16:49:57 martti Exp $
#
.include "../nethack-lib/Makefile.common"
PKGNAME= nethack-x11-${NETHACK_VERSION}
COMMENT= The X11 version of NetHack
CATEGORIES+= x11
DEPENDS+= nethack-lib-${NETHACK_VERSION}:../nethack-lib
USE_BUILDLINK2= YES
USE_X11= YES
ALL_TARGET= x11tiles nethack
INSTALL_TARGET= binfiles
MAKE_ENV+= GTYPE=-x11
ALLFILES+= ${DISTFILES}
post-install:
@${INSTALL_DATA} ${WRKSRC}/dat/x11tiles ${PREFIX}/share/${NETHACK_DIR}
.include "../../graphics/xpm/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"