summaryrefslogtreecommitdiff
path: root/converters/uulib
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1998-03-01 22:56:24 +0000
committertron <tron@pkgsrc.org>1998-03-01 22:56:24 +0000
commit6b4e7364fcdb9c68d267c7d52d6c25d3a27e0920 (patch)
tree0d56016aac6849740739fb6caf74d6442806a518 /converters/uulib
parentf355841136ef46e912fbb0c733292a1e318fcd45 (diff)
downloadpkgsrc-6b4e7364fcdb9c68d267c7d52d6c25d3a27e0920.tar.gz
Use "sed" not "perl" to build the manual page.
Diffstat (limited to 'converters/uulib')
-rw-r--r--converters/uulib/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/converters/uulib/Makefile b/converters/uulib/Makefile
index 9be29d21108..22eedfbba56 100644
--- a/converters/uulib/Makefile
+++ b/converters/uulib/Makefile
@@ -3,7 +3,7 @@
# Date Created: 04 Aug 1996
# Whom: Tim Vanderhoek <ac199@freenet.hamilton.on.ca>
#
-# $NetBSD: Makefile,v 1.2 1998/03/01 22:28:58 tron Exp $
+# $NetBSD: Makefile,v 1.3 1998/03/01 22:56:24 tron Exp $
# $FreeBSD Id: Makefile,v 1.14 1998/02/18 22:20:02 hoek Exp
#
@@ -30,8 +30,9 @@ do-install:
@${LDCONFIG} || ${TRUE}
${INSTALL_DATA} ${WRKSRC}/uulib/libuu.a ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/uulib/uudeview.h ${PREFIX}/include/uu.h
- ${INSTALL_MAN} ${FILESDIR}/uulib.3 ${PREFIX}/man/man3
- perl -pi -e '$$a = '\''${PREFIX}/'\''; $$a =~ s/([^\w\/])/\\$$1/g; s/FUNKYTOKENHERE/$$a/' ${PREFIX}/man/man3/uulib.3
+ ${SED} s/FUNKYTOKENHERE/${PREFIX:S/\//\\\\\//g}\\//g \
+ <${FILESDIR}/uulib.3 >${WRKSRC}/uulib.3
+ ${INSTALL_MAN} ${WRKSRC}/uulib.3 ${PREFIX}/man/man3
.if !defined(NOPORTDOCS)
@echo "===> Installing documentation for ${PKGNAME}"
@${MKDIR} ${PREFIX}/share/doc/uulib