blob: 7d7cc7a0c0273e03c0030404dfdac28696f985aa (
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
28
29
30
31
32
33
|
# $NetBSD: Makefile,v 1.28 2005/07/19 10:17:59 grant Exp $
#
.include "../nethack-lib/Makefile.common"
PKGNAME= nethack-x11-${NETHACK_VERSION}
COMMENT= The X11 version of NetHack
CATEGORIES+= x11
DEPENDS+= nethack-lib-${NETHACK_VERSION}:../../games/nethack-lib
BUILD_TARGET= x11tiles nethack
INSTALL_TARGET= binfiles
MAKE_ENV+= GTYPE=-x11
ALLFILES+= ${DISTFILES}
FONTS_X11_DIRS+= ${PREFIX}/lib/X11/fonts/misc
INSTALLATION_DIRS= lib/X11/app-defaults lib/X11/fonts/misc
post-install:
@${INSTALL_DATA} ${WRKSRC}/dat/x11tiles ${PREFIX}/share/${NETHACK_DIR}
@${INSTALL_DATA} ${WRKSRC}/win/X11/NetHack.ad \
${PREFIX}/lib/X11/app-defaults/NetHack
@${INSTALL_DATA} ${WRKSRC}/win/X11/nh10.bdf ${PREFIX}/lib/X11/fonts/misc
@${INSTALL_DATA} ${WRKSRC}/win/X11/nethack.rc \
${PREFIX}/share/${NETHACK_DIR}/nethack.x11.rc
.include "../../graphics/xpm/buildlink3.mk"
.include "../../mk/fonts.mk"
.include "../../mk/bsd.pkg.mk"
|