1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Don't compress man pages during the build.

Pay attention to ${PREFIX}.
This commit is contained in:
Masafumi Max NAKANE 1997-05-17 15:14:44 +00:00
parent 2d2b6e555b
commit 3b1eb2b2df
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=6470
2 changed files with 18 additions and 10 deletions

View File

@ -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>

View File

@ -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