summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chat/icb/Makefile16
-rw-r--r--misc/less/Makefile4
-rw-r--r--misc/screen/Makefile24
3 files changed, 22 insertions, 22 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
diff --git a/misc/less/Makefile b/misc/less/Makefile
index 8ab17be0a4d..fb73720c5f9 100644
--- a/misc/less/Makefile
+++ b/misc/less/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2002/10/26 16:01:37 grant Exp $
+# $NetBSD: Makefile,v 1.6 2002/11/14 23:28:55 jlam Exp $
#
DISTNAME= less-378
@@ -11,6 +11,6 @@ HOMEPAGE= http://www.greenwoodsoftware.com/less/
COMMENT= pager similar to more and pg
GNU_CONFIGURE= yes
-USE_BUILDLINK_ONLY= yes
+USE_BUILDLINK2= yes
.include "../../mk/bsd.pkg.mk"
diff --git a/misc/screen/Makefile b/misc/screen/Makefile
index 8593ba85c34..16221f1ba9f 100644
--- a/misc/screen/Makefile
+++ b/misc/screen/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2002/11/04 22:39:17 hubertf Exp $
+# $NetBSD: Makefile,v 1.37 2002/11/14 23:33:12 jlam Exp $
DISTNAME= screen-3.9.13
CATEGORIES= misc
@@ -9,27 +9,29 @@ MAINTAINER= hubertf@netbsd.org
HOMEPAGE= http://www.gnu.org/software/screen/screen.html
COMMENT= Multi-screen window manager
-GNU_CONFIGURE= yes
+USE_BUILDLINK2= # defined
INFO_FILES= screen.info
PLIST_SUBST= DISTNAME=${DISTNAME}
-USE_BUILDLINK_ONLY= yes
TEXINFO_OVERRIDE= YES
-CONFIGURE_ARGS+=--with-sys-screenrc=${PKG_SYSCONFDIR}/screenrc \
- --enable-telnet
+GNU_CONFIGURE= # defined
+CONFIGURE_ARGS+= --with-sys-screenrc=${PKG_SYSCONFDIR}/screenrc
+CONFIGURE_ARGS+= --enable-telnet
.include "../../mk/bsd.prefs.mk"
-.if (${OPSYS} == SunOS)
-PLIST_SRC= ${PKGDIR}/PLIST.SunOS
+
+.if exists(${PKGDIR}/PLIST.${OPSYS})
+PLIST_SRC= ${PKGDIR}/PLIST.${OPSYS}
.endif
post-install:
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/screen
- ${INSTALL_DATA} ${WRKSRC}/etc/etcscreenrc ${PREFIX}/share/examples/screen/screenrc
+ ${INSTALL_DATA} ${WRKSRC}/etc/etcscreenrc \
+ ${PREFIX}/share/examples/screen/screenrc
.if (${OPSYS} == SunOS)
- cd ${WRKSRC}/terminfo && \
- ${SETENV} TERMINFO=${PREFIX}/share/lib/terminfo \
- /usr/5bin/tic screeninfo.src
+ cd ${WRKSRC}/terminfo && \
+ ${SETENV} TERMINFO=${PREFIX}/share/lib/terminfo \
+ /usr/5bin/tic screeninfo.src
.endif
.include "../../mk/texinfo.mk"