summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authoragc <agc>1998-06-03 12:35:44 +0000
committeragc <agc>1998-06-03 12:35:44 +0000
commit5dfd0faca0c15d8d12ce6446171753d539d515ab (patch)
treede370b735ea2209efb10e39844dec90c12532e08 /converters
parent0c0c0ca59b93d66dbac1fbbb29735ac3269bbefc (diff)
downloadpkgsrc-5dfd0faca0c15d8d12ce6446171753d539d515ab.tar.gz
Include bsd.prefs.mk, in case NOPORTDOCS is set in /etc/mk.conf.
Eliminate backslash proliferation in a sed expression.
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 a0108fc3176..8534413d31e 100644
--- a/converters/uulib/Makefile
+++ b/converters/uulib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 1998/04/20 11:56:21 frueauf Exp $
+# $NetBSD: Makefile,v 1.6 1998/06/03 12:35:44 agc Exp $
# FreeBSD Id: Makefile,v 1.14 1998/02/18 22:20:02 hoek Exp
#
@@ -20,13 +20,14 @@ DOCFILES= HISTORY doc/Makefile doc/README doc/binhex.fig \
doc/library.ltx doc/structure.fig doc/td-v1.c doc/td-v2.c \
doc/td-v3.c doc/test.txt
+.include "../../mk/bsd.prefs.mk"
+
do-install:
${INSTALL_DATA} ${WRKSRC}/uulib/libuu.so.1.0 ${PREFIX}/lib
@${LDCONFIG} || ${TRUE}
${INSTALL_DATA} ${WRKSRC}/uulib/libuu.a ${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/uulib/uudeview.h ${PREFIX}/include/uu.h
- ${SED} s/FUNKYTOKENHERE/${PREFIX:S/\//\\\\\//g}\\//g \
- <${FILESDIR}/uulib.3 >${WRKSRC}/uulib.3
+ ${SED} -e 's|FUNKYTOKENHERE|${PREFIX}|g' <${FILESDIR}/uulib.3 >${WRKSRC}/uulib.3
${INSTALL_MAN} ${WRKSRC}/uulib.3 ${PREFIX}/man/man3
.if !defined(NOPORTDOCS)
@echo "===> Installing documentation for ${PKGNAME}"