summaryrefslogtreecommitdiff
path: root/chat/icb/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-02 07:06:20 +0000
committerjlam <jlam@pkgsrc.org>2008-03-02 07:06:20 +0000
commit94cf4505bd25632cc4556afcde422481b9773f37 (patch)
tree5cb003386cc96a615a4242906400c45f1d8897ed /chat/icb/Makefile
parent1a6a15a039fad004ff6d4dee93975e9aa3d2f91b (diff)
downloadpkgsrc-94cf4505bd25632cc4556afcde422481b9773f37.tar.gz
+ Add termcap.buildlink3.mk to get proper termcap support across
platforms. + Remove -lcurses from link command -- icb only needs termcap support, and then only for the embedded readline library. Bump the PKGREVISION to 4.
Diffstat (limited to 'chat/icb/Makefile')
-rw-r--r--chat/icb/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/chat/icb/Makefile b/chat/icb/Makefile
index 8eda7c65f11..08aff3c8c24 100644
--- a/chat/icb/Makefile
+++ b/chat/icb/Makefile
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.17 2008/03/01 04:17:29 jlam Exp $
+# $NetBSD: Makefile,v 1.18 2008/03/02 07:06:20 jlam Exp $
#
# Note: The file ftp://ftp.icb.net/pub/icb/icb-0.9grok2.tar.gz is way
# older than this here. It's got no readline support, tcl, ... - HF
DISTNAME= icb-5.0.9
PKGNAME= icb-5.0.9pl1
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= chat
MASTER_SITES= ${MASTER_SITE_LOCAL}
@@ -18,12 +18,6 @@ PKG_DESTDIR_SUPPORT= user-destdir
NO_SRC_ON_FTP= already in MASTER_SITE_LOCAL
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "Darwin"
-BUILDLINK_TRANSFORM+= rm:-ltermcap
-.endif
-
INSTALLATION_DIRS= bin ${ICBLIBDIR} ${EGDIR}
EGDIR= ${PREFIX}/share/examples/icb
ICBLIBDIR= ${PREFIX}/libdata/icb
@@ -44,4 +38,5 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/icbserverdb ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/sample.icbrc ${DESTDIR}${EGDIR}
+.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"