65ede1de60
-add some extra libs during linking for ELF
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.12 2000/04/06 18:00:13 dmcmahill Exp $
|
|
#
|
|
|
|
DISTNAME= nethack-3.3.0
|
|
PKGNAME= nethack-qt-3.3.0
|
|
CATEGORIES= games x11
|
|
MASTER_SITES= ftp://ftp.win.tue.nl/pub/games/nethack.330/source/
|
|
|
|
MAINTAINER= root@garbled.net
|
|
HOMEPAGE= http://trolls.troll.no/warwick/nethack/
|
|
|
|
DEPENDS+= nethack-lib-3.3.0:../nethack-lib
|
|
DEPENDS+= xpm-3.4k:../../graphics/xpm
|
|
DEPENDS+= qt-2.0.2:../../x11/qt
|
|
|
|
WRKSRC= ${WRKDIR}/nethack-3.3.0
|
|
|
|
USE_X11= yes
|
|
USE_GMAKE= yes
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_SCRIPT= ./sys/unix/setup.sh
|
|
ALL_TARGET= nethack
|
|
INSTALL_TARGET= binfiles
|
|
MAKE_ENV+= GTYPE=-qt QTDIR=${X11BASE}
|
|
|
|
PATCHFILES+= ${PKGSRCDIR}/games/nethack-lib/patches/patch-*
|
|
ALLFILES= ${DISTFILES} # don't checksum shared patches
|
|
|
|
MD5_FILE= ${.CURDIR}/../nethack-lib/files/md5
|
|
|
|
BROKEN= 'complains about tiles.xmp at runtime and non-writable scores directory'
|
|
|
|
post-extract:
|
|
@${CHMOD} 755 ${WRKSRC}/sys/unix/setup.sh
|
|
|
|
post-patch:
|
|
@${MV} ${WRKSRC}/include/config.h ${WRKSRC}/foo
|
|
@${SED} -e 's@XXXPREFIXXXX@${PREFIX}@g' <${WRKSRC}/foo> ${WRKSRC}/include/config.h
|
|
@${RM} -f ${WRKSRC}/foo
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|