summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
Diffstat (limited to 'converters')
-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