pkgsrc/games/nethack-x11/Makefile
agc ccff9099bc Modify all references to PKGSRCDIR to _PKGSRCDIR, except in the external
references of the pkglint package.

_PKGSRCDIR is an internal definition in bsd.pkg.mk, and a few packages
which would like to refer to other packages in the build tree. It should
not be set by users, but neither should it stop a user from building a
package if it is defined, so make it obvious that this is the case.
2001-12-15 20:25:34 +00:00

27 lines
678 B
Makefile

# $NetBSD: Makefile,v 1.16 2001/12/15 20:25:36 agc 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_BUILDLINK_ONLY= YES
ALL_TARGET= x11tiles nethack
INSTALL_TARGET= binfiles
MAKE_ENV+= GTYPE=-x11
PATCHFILES+= ${_PKGSRCDIR}/games/nethack-lib/patches/patch-*
ALLFILES= ${DISTFILES} # don't checksum shared patches
post-install:
@${INSTALL_DATA} ${WRKSRC}/dat/x11tiles ${PREFIX}/share/nethackdir
.include "../../graphics/xpm/buildlink.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"