From cb065982bc374b232beec93dc0a66ab9ff21ef1e Mon Sep 17 00:00:00 2001 From: agc Date: Sun, 8 Mar 1998 02:31:57 +0000 Subject: 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. --- mail/faces/Makefile | 6 +++++- mail/faces/pkg/PLIST | 6 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'mail/faces') 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 # Andreas Klemm # -# $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 diff --git a/mail/faces/pkg/PLIST b/mail/faces/pkg/PLIST index 7b8349d551b..a04c42655a9 100644 --- a/mail/faces/pkg/PLIST +++ b/mail/faces/pkg/PLIST @@ -1,5 +1,5 @@ -@comment $NetBSD: PLIST,v 1.4 1998/02/28 20:27:12 frueauf Exp $ -@cwd /usr/local +@comment $NetBSD: PLIST,v 1.5 1998/03/08 02:31:57 agc Exp $ +@cwd @localbase@ share/faces/machine.tab share/faces/people.tab @dirrm share/faces @@ -38,5 +38,5 @@ bin/face_update bin/faces.sendmail man/man1/faces.1.gz man/man1/face_update.1.gz -@cwd /usr/X11R6 +@cwd @x11base@ lib/X11/app-defaults/Faces -- cgit v1.2.3