summaryrefslogtreecommitdiff
path: root/mail/faces/Makefile
diff options
context:
space:
mode:
authoragc <agc>1998-02-25 16:07:55 +0000
committeragc <agc>1998-02-25 16:07:55 +0000
commit1b2092d41566d948843987164236ea5fbd143dd5 (patch)
treef981022547b7a0ac0e377373f14adbe76f2b0eb9 /mail/faces/Makefile
parent21172420dcaf2baa33fba8dce3279a4de01e9d61 (diff)
downloadpkgsrc-1b2092d41566d948843987164236ea5fbd143dd5.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/Makefile')
-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>