packages with the modular Xorg equivalent. Those are falling back to the old location by default, so this commmit doesn't change dependencies. graphics/xpm ==> x11/libXpm fonts/Xft2 ==> x11/libXft x11/Xfixes ==> x11/libXfixes x11/xcursor ==> x11/libXcursor x11/Xrender ==> x11/libXrender x11/Xrandr ==> libXrandr
27 lines
711 B
Makefile
27 lines
711 B
Makefile
# $NetBSD: Makefile,v 1.52 2006/12/15 20:32:55 joerg Exp $
|
|
#
|
|
|
|
.include "../../games/nethack-lib/Makefile.common"
|
|
|
|
PKGNAME= nethack-qt-${NETHACK_VERSION}
|
|
PKGREVISION= 6
|
|
CATEGORIES+= x11
|
|
|
|
COMMENT= The QT-Enhanced X11 version of NetHack
|
|
|
|
DEPENDS+= nethack-lib-${NETHACK_VERSION}nb1:../../games/nethack-lib
|
|
|
|
USE_LANGUAGES= c c++
|
|
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 "../../x11/libXpm/buildlink3.mk"
|
|
.include "../../x11/qt3-libs/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|