summaryrefslogtreecommitdiff
path: root/chat/icb
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-11-14 23:24:23 +0000
committerjlam <jlam@pkgsrc.org>2002-11-14 23:24:23 +0000
commitd6130503419506990d3e1aa6fb82f52364c457af (patch)
treeb6d7934edaf3eb9152d97f168f2b2e0f45508d37 /chat/icb
parenta1ab69b67269d424f0e8ef3940efa83bad8ec798 (diff)
downloadpkgsrc-d6130503419506990d3e1aa6fb82f52364c457af.tar.gz
buildlink1 -> buildlink2
Diffstat (limited to 'chat/icb')
-rw-r--r--chat/icb/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/chat/icb/Makefile b/chat/icb/Makefile
index ad70887c725..36639865270 100644
--- a/chat/icb/Makefile
+++ b/chat/icb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2002/06/02 01:41:19 schmonz Exp $
+# $NetBSD: Makefile,v 1.6 2002/11/14 23:24:23 jlam Exp $
#
# Note: The file ftp://ftp.icb.net/pub/icb/icb-0.9grok2.tar.gz is way
@@ -13,18 +13,16 @@ HOMEPAGE= http://www.icb.net/
COMMENT= Internet CB - a mostly-defunct chat client
NO_SRC_ON_FTP= "already in MASTER_SITE_LOCAL"
-USE_BUILDLINK_ONLY= # defined
+USE_BUILDLINK2= # defined
.include "../../mk/bsd.prefs.mk"
-do-configure:
- @cd ${WRKSRC}; \
- ${SED} -e s,@PREFIX@,${PREFIX},g ${FILESDIR}/config >${WRKSRC}/config
-. if (${OPSYS} == "Darwin")
- @${SED} -e s,-ltermcap,,g ${WRKSRC}/config >${WRKSRC}/config.new; \
- ${MV} -f ${WRKSRC}/config.new ${WRKSRC}/config
-. endif
+.if ${OPSYS} == "Darwin"
+BUILDLINK_TRANSFORM+= r:-ltermcap
+.endif
+do-configure:
+ ${SED} -e "s|@PREFIX@|${PREFIX}|g" ${FILESDIR}/config >${WRKSRC}/config
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/icb/icb ${PREFIX}/bin