summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-05 19:56:38 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-05 19:56:38 +0000
commit28f8e73928aeffa57bc87c48e09c80e3a0890483 (patch)
tree5a2c40763c1d73e02464ec60add447d8b04eba46 /chat
parent99bdc4ed4ce0cd6bf3f5152ad316556e654361bf (diff)
downloadpkgsrc-28f8e73928aeffa57bc87c48e09c80e3a0890483.tar.gz
Use SUBST instead of FILES_SUBST_SED.
Diffstat (limited to 'chat')
-rw-r--r--chat/bitchx/Makefile10
1 files changed, 5 insertions, 5 deletions
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"