pkgsrc/games/nethack-qt/Makefile

30 lines
743 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.55 2009/08/26 19:57:32 sno Exp $
1998-08-27 15:38:47 +02:00
#
.include "../../games/nethack-lib/Makefile.common"
1998-08-27 15:38:47 +02:00
PKGNAME= nethack-qt-${NETHACK_VERSION}
PKGREVISION= 7
CATEGORIES+= x11
1998-08-27 15:38:47 +02:00
2009-07-16 16:59:19 +02:00
MAKE_JOBS_SAFE= no
COMMENT= The QT-Enhanced X11 version of NetHack
DEPENDS+= nethack-lib-${NETHACK_VERSION}{,nb*}:../../games/nethack-lib
1998-08-27 15:38:47 +02:00
2006-05-22 23:58:33 +02:00
USE_LANGUAGES= c c++
BUILD_TARGET= x11tiles nethack
1998-08-27 15:38:47 +02:00
INSTALL_TARGET= binfiles
2001-06-26 20:52:09 +02:00
MAKE_ENV+= GTYPE=-qt
2005-03-07 10:41:45 +01:00
CFLAGS+= -DPREFIX="\"${PREFIX}\""
1998-08-27 15:38:47 +02:00
2000-04-14 19:30:31 +02:00
post-install:
@${CP} -f ${WRKSRC}/dat/x11tiles ${WRKSRC}/dat/tiles.xpm
2009-07-16 16:59:19 +02:00
@${INSTALL_DATA} ${WRKSRC}/dat/tiles.xpm ${DESTDIR}${PREFIX}/share/${NETHACK_DIR}
2000-04-14 19:30:31 +02:00
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/qt3-libs/buildlink3.mk"
2002-09-20 23:24:48 +02:00
1998-08-27 15:38:47 +02:00
.include "../../mk/bsd.pkg.mk"