summaryrefslogtreecommitdiff
path: root/mail/faces
diff options
context:
space:
mode:
authoragc <agc>1998-02-25 16:07:55 +0000
committeragc <agc>1998-02-25 16:07:55 +0000
commite95f592a69793df6fa465efa2c6bbf4d5dd4e796 (patch)
treef981022547b7a0ac0e377373f14adbe76f2b0eb9 /mail/faces
parent65e20f8faf8902c9ea2054fce7d2f8f63ccc3fee (diff)
downloadpkgsrc-e95f592a69793df6fa465efa2c6bbf4d5dd4e796.tar.gz
Add NetBSD RCS Id.
Add post-configure step, to expand X11BASE and LOCALBASE in some source files. Refine the shared object handling. Refine the manual page handling.
Diffstat (limited to 'mail/faces')
-rw-r--r--mail/faces/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/mail/faces/Makefile b/mail/faces/Makefile
index a24b7015d5b..3dc5a9edc36 100644
--- a/mail/faces/Makefile
+++ b/mail/faces/Makefile
@@ -4,6 +4,7 @@
# Whom: Lars Koeller <Lars_Koeller@odie.physik2.uni-rostock.de>
# Andreas Klemm <andreas@FreeBSD.ORG>
#
+# $NetBSD: Makefile,v 1.2 1998/02/25 16:07:55 agc Exp $
# FreeBSD Id: Makefile,v 1.5 1997/11/17 18:47:53 max Exp
#
@@ -19,12 +20,16 @@ WRKSRC= $(WRKDIR)/faces
MAN1= compface.1 faces.1 face_update.1
MAN3= compface.3
+post-configure:
+ @for f in ${WRKSRC}/Makefile ${WRKSRC}/faces.h ${WRKSRC}/x11.c; do \
+ ${MV} $$f $$f.in; \
+ ${SED} -e 's|@localbase@|'${LOCALBASE}'|g' \
+ -e 's|@x11base@|'${X11BASE}'|g' < $$f.in > $$f; \
+ done
+
post-install:
- ${LDCONFIG} -m ${PREFIX}/lib
-.if !defined(NOMANCOMPRESS)
- @${RM} ${PREFIX}/man/man1/uncompface.1 ${PREFIX}/man/man3/uncompface.3
- @ln -fs compface.1.gz ${PREFIX}/man/man1/uncompface.1.gz
- @ln -fs compface.3.gz ${PREFIX}/man/man3/uncompface.3.gz
-.endif
+ ${LDCONFIG} || ${TRUE}
+ @ln -f compface.1 ${PREFIX}/man/man1/uncompface.1
+ @ln -f compface.3 ${PREFIX}/man/man3/uncompface.3
.include <bsd.port.mk>