summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorroy <roy>2013-10-10 17:27:56 +0000
committerroy <roy>2013-10-10 17:27:56 +0000
commitd114a5f28022c108bbb0a8bf160c0b658fe87402 (patch)
tree40c9a7b7d8320bd1eddaa0f8fe8e7663c600347b /games
parent531b8f3bb8053539e211ad165bf45edcbcaec993 (diff)
downloadpkgsrc-d114a5f28022c108bbb0a8bf160c0b658fe87402.tar.gz
Remove dependency on ncurses and depend on system curses and termcap.
Diffstat (limited to 'games')
-rw-r--r--games/level9/Makefile11
-rw-r--r--games/level9/distinfo3
2 files changed, 10 insertions, 4 deletions
diff --git a/games/level9/Makefile b/games/level9/Makefile
index 4b7148c118c..c314c11ea40 100644
--- a/games/level9/Makefile
+++ b/games/level9/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.16 2012/12/12 10:44:09 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2013/10/10 17:27:56 roy Exp $
DISTNAME= Level9_4.0_Source
PKGNAME= level9-4.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= games
MASTER_SITES= http://www.ifarchive.org/if-archive/level9/interpreters/level9/
EXTRACT_SUFX= .zip
@@ -18,6 +18,10 @@ INCOMPAT_CURSES+= NetBSD-1.6.*-* NetBSD-1.6[A-L]*-*
INSTALLATION_DIRS= bin
+LDADD+= ${BUILDLINK_LDADD.termcap}
+LDADD+= ${BUILDLINK_LDADD.curses}
+MAKE_ENV+= LDADD=${LDADD:Q}
+
post-extract:
${CP} ${FILESDIR}/Makefile ${WRKSRC}
@@ -27,5 +31,6 @@ do-install:
${INSTALL_DATA} ${WRKDIR}/level9.txt \
${DESTDIR}${PREFIX}/share/doc/level9
-.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/curses.buildlink3.mk"
+.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/games/level9/distinfo b/games/level9/distinfo
index 5e6fd13db59..cd55f0338bf 100644
--- a/games/level9/distinfo
+++ b/games/level9/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2005/11/01 14:39:45 dillo Exp $
+$NetBSD: distinfo,v 1.7 2013/10/10 17:27:56 roy Exp $
SHA1 (Level9_4.0_Source.zip) = 7bbd0a675aa66067745b2d850d07eaa2b08fd452
RMD160 (Level9_4.0_Source.zip) = 224b2b3414da53e8dd7c3a253468b078c09a0e4f
Size (Level9_4.0_Source.zip) = 294428 bytes
+SHA1 (patch-Makefile) = aaf6966e4b62f92003f8ce2e162d9a6a6bbccab0
SHA1 (patch-aa) = 2fda19e85676e7eadf94d109a1ba0e02a17e9d84