From e5b6de82659a19ea36f51acce6e8624561fc7f9b Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 5 Jan 2006 19:56:38 +0000 Subject: Use SUBST instead of FILES_SUBST_SED. --- chat/bitchx/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'chat') diff --git a/chat/bitchx/Makefile b/chat/bitchx/Makefile index 3ab3a227a55..2f2d8ab705b 100644 --- a/chat/bitchx/Makefile +++ b/chat/bitchx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.38 2005/12/29 06:21:32 jlam Exp $ +# $NetBSD: Makefile,v 1.39 2006/01/05 19:56:38 joerg Exp $ DISTNAME= ircii-pana-1.1-final PKGNAME= bitchx-1.1 @@ -25,10 +25,10 @@ CONFIGURE_ARGS+= --with-ssl CFLAGS+= -DBIND_8_COMPAT .endif -post-patch: - @${MV} ${WRKSRC}/doc/BitchX.1 ${WRKSRC}/doc/BitchX.1.orig - @${SED} ${FILES_SUBST_SED} \ - ${WRKSRC}/doc/BitchX.1.orig > ${WRKSRC}/doc/BitchX.1 +SUBST_CLASSES+= manpage +SUBST_FILES.manpage+= doc/BitchX.1 +SUBST_SED.manpage+= -e 's,@PREFIX@,${PREFIX},g' +SUBST_STAGE.manpage+= post-patch .include "../../archivers/bzip2/buildlink3.mk" .include "../../devel/ncurses/buildlink3.mk" -- cgit v1.2.3