2009-08-26 21:56:37 +02:00
|
|
|
# $NetBSD: Makefile,v 1.55 2009/08/26 19:57:32 sno Exp $
|
1998-08-27 15:38:47 +02:00
|
|
|
#
|
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
.include "../../games/nethack-lib/Makefile.common"
|
1998-08-27 15:38:47 +02:00
|
|
|
|
2000-08-10 19:50:04 +02:00
|
|
|
PKGNAME= nethack-qt-${NETHACK_VERSION}
|
2009-08-26 21:56:37 +02:00
|
|
|
PKGREVISION= 7
|
2000-08-10 19:50:04 +02:00
|
|
|
CATEGORIES+= x11
|
1998-08-27 15:38:47 +02:00
|
|
|
|
2009-07-16 16:59:19 +02:00
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
|
2001-02-16 16:10:41 +01:00
|
|
|
COMMENT= The QT-Enhanced X11 version of NetHack
|
|
|
|
|
2008-09-26 17:10:08 +02:00
|
|
|
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++
|
2004-12-03 16:14:50 +01:00
|
|
|
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:
|
2000-04-14 23:13:57 +02:00
|
|
|
@${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
|
|
|
|
2006-12-15 21:32:52 +01:00
|
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
2004-09-11 15:38:46 +02:00
|
|
|
.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"
|