freebsd-ports/misc/figlet/files/patch-aa
Thomas Gellekum e909ca903b Upgrade to 2.2.
PR:		3905
Submitted by:	Brian Handy <handy@lambic.space.lockheed.com>
1997-06-20 12:41:47 +00:00

35 lines
1 KiB
Text

--- Makefile.orig Tue Feb 18 22:46:29 1997
+++ Makefile Fri Jun 20 14:34:48 1997
@@ -10,18 +10,18 @@
# for changing this is if sh is not in the same place.
SHELL = /bin/sh
CC = gcc
-CFLAGS = -g
+#CFLAGS = -g
# Where the executables should be put
-DESTDIR = /home_c2/johnson/chai/figlet/bin
+DESTDIR = $(PREFIX)/bin
# Where the man page should be put
-MANDIR = /home_c2/johnson/chai/man/man6
+MANDIR = $(PREFIX)/man/man6
# Where figlet will search first for fonts (the ".flf" files).
# DEFAULTFONTDIR = $(DESTDIR)/lib/figlet.dir
# Use this definition if you can't put things in /usr/games
-DEFAULTFONTDIR = /home_c2/johnson/chai/figlet/fonts
+DEFAULTFONTDIR = $(PREFIX)/share/figlet
# The filename of the font to be used if no other is specified
# (standard.flf is recommended, but any other can be used).
@@ -51,7 +51,9 @@
install: figlet chkfont
mkdir $(DEFAULTFONTDIR)
+ strip figlet
cp figlet $(DESTDIR)
+ strip chkfont
cp chkfont $(DESTDIR)
cp figlist $(DESTDIR)
cp showfigfonts $(DESTDIR)