summaryrefslogtreecommitdiff
path: root/textproc/t1lib
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-10-28 14:29:20 +0000
committeragc <agc@pkgsrc.org>1999-10-28 14:29:20 +0000
commit0d60cd1982bbbd694239014ff841dc98e11518e2 (patch)
treecb9e32fd5d45ba8578bcefe29f72816643f9e8ed /textproc/t1lib
parent857d3c4aad46d7c15eebe7eac30f0aee80fea383 (diff)
downloadpkgsrc-0d60cd1982bbbd694239014ff841dc98e11518e2.tar.gz
Make this package compile on Solaris, by cleaning up the package
Makefile sed(1) commands.
Diffstat (limited to 'textproc/t1lib')
-rw-r--r--textproc/t1lib/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/textproc/t1lib/Makefile b/textproc/t1lib/Makefile
index ef74d738ed8..b6f1bc8edd7 100644
--- a/textproc/t1lib/Makefile
+++ b/textproc/t1lib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 1999/09/24 01:00:03 fredb Exp $
+# $NetBSD: Makefile,v 1.4 1999/10/28 14:29:20 agc Exp $
#
DISTNAME= t1lib-0.9.2
@@ -18,7 +18,7 @@ MESSAGE_FILE= ${WRKDIR}/MESSAGE
ALL_TARGET= without_doc
post-build:
- ${SED} s^@@PREFIX@@^${PREFIX}^g < ${PKGDIR}/MESSAGE > ${WRKDIR}/MESSAGE
+ ${SED} -e 's|@@PREFIX@@|${PREFIX}|g' < ${PKGDIR}/MESSAGE > ${WRKDIR}/MESSAGE
post-install:
${MKDIR} ${PREFIX}/share/t1lib
@@ -29,8 +29,8 @@ post-install:
cd ${WRKSRC}/examples; \
${PAX} -r -w FontDataBase README.t1example1 t1example1.c t1lib.config \
${PREFIX}/share/examples/t1lib
- ${SED} -e s^@@X11BASE@@^${X11BASE}^g -e s^@@LOCALBASE@@^${LOCALBASE}^g \
- -e s^@@PREFIX@@^${PREFIX}^g < ${FILESDIR}/t1lib.config.netbsd \
+ ${SED} -e 's|@@X11BASE@@|${X11BASE}|g' -e 's|@@LOCALBASE@@|${LOCALBASE}|g' \
+ -e 's|@@PREFIX@@|${PREFIX}|g' < ${FILESDIR}/t1lib.config.netbsd \
> ${PREFIX}/share/examples/t1lib/t1lib.config.netbsd
if [ ! -f ${PREFIX}/share/t1lib/t1lib.config ]; then \
${CP} ${PREFIX}/share/examples/t1lib/t1lib.config.netbsd \