summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorjlam <jlam>2002-11-14 23:24:23 +0000
committerjlam <jlam>2002-11-14 23:24:23 +0000
commit5026ffb7b2b4cb6626058fa28f54650074230321 (patch)
treeb6d7934edaf3eb9152d97f168f2b2e0f45508d37 /chat
parentc27eaf84f91ecd2dac5904e60cd88b02899bd706 (diff)
downloadpkgsrc-5026ffb7b2b4cb6626058fa28f54650074230321.tar.gz
buildlink1 -> buildlink2
Diffstat (limited to 'chat')
-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