summaryrefslogtreecommitdiff
path: root/mail/faces/Makefile
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-03-08 02:31:57 +0000
committeragc <agc@pkgsrc.org>1998-03-08 02:31:57 +0000
commit551fd44f9484b196124fe5f9006ab6601f1a6f39 (patch)
treee7133fab6b6a5a8c7c7904cdb753c93afdf80f11 /mail/faces/Makefile
parent9d57c1354005139389390bd5b2a37f00957efd25 (diff)
downloadpkgsrc-551fd44f9484b196124fe5f9006ab6601f1a6f39.tar.gz
Pre-process PLIST at install time, so that we don't have hard-coded
(and wrong) paths in the packing list. With thanks to milano and hubertf for pointing this out.
Diffstat (limited to 'mail/faces/Makefile')
-rw-r--r--mail/faces/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/mail/faces/Makefile b/mail/faces/Makefile
index bddee197294..64dd0498ecd 100644
--- a/mail/faces/Makefile
+++ b/mail/faces/Makefile
@@ -4,7 +4,7 @@
# Whom: Lars Koeller <Lars_Koeller@odie.physik2.uni-rostock.de>
# Andreas Klemm <andreas@FreeBSD.ORG>
#
-# $NetBSD: Makefile,v 1.4 1998/02/28 10:42:39 frueauf Exp $
+# $NetBSD: Makefile,v 1.5 1998/03/08 02:31:57 agc Exp $
# FreeBSD Id: Makefile,v 1.5 1997/11/17 18:47:53 max Exp
#
@@ -27,9 +27,13 @@ post-configure:
-e 's|@x11base@|'${X11BASE}'|g' < $$f.in > $$f; \
done
+PLIST_SRC= ${WRKDIR}/.PLIST-src
+
post-install:
${LDCONFIG} || ${TRUE}
${LN} -f ${PREFIX}/man/man1/compface.1 ${PREFIX}/man/man1/uncompface.1
${LN} -f ${PREFIX}/man/man3/compface.3 ${PREFIX}/man/man3/uncompface.3
+ @${SED} -e 's|@localbase@|'${LOCALBASE}'|g' \
+ -e 's|@x11base@|'${X11BASE}'|g' < pkg/PLIST > ${PLIST_SRC}
.include <bsd.port.mk>