aboutsummaryrefslogtreecommitdiff
path: root/mail/faces
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>1997-05-17 15:14:44 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>1997-05-17 15:14:44 +0000
commit3b1eb2b2df8b2ed4af0adae129a437f5ef2d3780 (patch)
tree630266c9ddd44f128d11f97a247c3fbca2f2dec7 /mail/faces
parent2d2b6e555bb546dc86cbbebca538732f3650f504 (diff)
downloadports-3b1eb2b2df8b2ed4af0adae129a437f5ef2d3780.tar.gz
ports-3b1eb2b2df8b2ed4af0adae129a437f5ef2d3780.zip
Notes
Diffstat (limited to 'mail/faces')
-rw-r--r--mail/faces/Makefile9
-rw-r--r--mail/faces/files/patch-aa19
2 files changed, 18 insertions, 10 deletions
diff --git a/mail/faces/Makefile b/mail/faces/Makefile
index c112205ed1d8..413e9c6de03b 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>
#
-# $Id: Makefile,v 1.1.1.1 1996/12/14 22:27:51 andreas Exp $
+# $Id: Makefile,v 1.2 1996/12/17 04:52:12 asami Exp $
#
DISTNAME= faces-1.6.1
@@ -16,8 +16,15 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= Lars_Koeller@odie.physik2.uni-rostock.de
WRKSRC= $(WRKDIR)/faces
+MAN1= compface.1 faces.1 face_update.1
+MAN3= compface.3
post-install:
/sbin/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
.include <bsd.port.mk>
diff --git a/mail/faces/files/patch-aa b/mail/faces/files/patch-aa
index 417bd453218f..605bc29234f9 100644
--- a/mail/faces/files/patch-aa
+++ b/mail/faces/files/patch-aa
@@ -19,7 +19,7 @@ diff -c -N ../faces/Makefile ./Makefile
--- ./Makefile Wed Dec 11 09:33:04 1996
***************
*** 0 ****
---- 1,476 ----
+--- 1,478 ----
+ #
+ # Makefile for faces, an icon face server, plus associated software.
+ #
@@ -44,6 +44,9 @@ diff -c -N ../faces/Makefile ./Makefile
+ # uncommented and set accordingly, if needed.
+ #
+ #========================================================================
++ # Installation prefix.
++ PREFIX ?=/usr/local
++ #------------------------------------------------------------------------
+ # If you want audio support, then the following line should be uncommented.
+ #
+ AUDIO_SUPPORT = -DAUDIO_SUPPORT
@@ -99,7 +102,7 @@ diff -c -N ../faces/Makefile ./Makefile
+ # be uncommented and set appropriately. Note that the value must be
+ # a single directory name, not a colon separated list of paths.
+ #
-+ FACEDIR = /usr/local/share/faces
++ FACEDIR = $(PREFIX)/share/faces
+ CFACEDIR = -DFACEDIR=\"$(FACEDIR)\"
+ #------------------------------------------------------------------------
+ # It is possible to determine what type of monitoring faces does at
@@ -294,16 +297,17 @@ diff -c -N ../faces/Makefile ./Makefile
+ # Default locations where faces files will be installed.
+ # You might wish to alter these values.
+ #
-+ BINDIR = /usr/local/bin
-+ LIBDIR = /usr/local/lib
-+ MANDIR = /usr/local/man
++ BINDIR = $(PREFIX)/bin
++ LIBDIR = $(PREFIX)/lib
++ INCDIR = $(PREFIX)/include
++ MANDIR = $(PREFIX)/man
+ MANSECT = 1
+
+ #
+ # Options for submakes
+ #
+ MAKEOPTS = $(MFLAGS) BINDIR=$(BINDIR) LIBDIR=$(LIBDIR) \
-+ MANDIR=$(MANDIR) CC=$(CC) \
++ INCDIR=$(INCDIR) MANDIR=$(MANDIR) CC=$(CC) \
+ NOINDEX=$(NOINDEX) SYSV=$(SYSV)
+
+ #
@@ -442,10 +446,8 @@ diff -c -N ../faces/Makefile ./Makefile
+ install -c -m 755 faces.sendmail $(BINDIR)
+ install -c -m 644 faces.man \
+ $(MANDIR)/man$(MANSECT)/faces.$(MANSECT)
-+ gzip -f $(MANDIR)/man$(MANSECT)/faces.$(MANSECT)
+ install -c -m 444 face_update.1 \
+ $(MANDIR)/man$(MANSECT)/face_update.$(MANSECT)
-+ gzip -f $(MANDIR)/man$(MANSECT)/face_update.$(MANSECT)
+ install -c -m 444 -o bin Faces.ad /usr/X11R6/lib/X11/app-defaults/Faces
+
+ clean:
@@ -496,7 +498,6 @@ diff -c -N ../faces/Makefile ./Makefile
+ sunview.o: sunview.c faces.h extern.h
+ x11.o: x11.c faces.h extern.h
+ xview.o: xview.c faces.h extern.h
-Common subdirectories: ../faces/compface and ./compface
diff -c -N ../faces/extern.h ./extern.h
*** ../faces/extern.h Tue Nov 19 05:00:48 1991
--- ./extern.h Tue Dec 10 10:49:37 1996