source: trunk/dports/textproc/figlet/files/patch-Makefile @ 12661

Last change on this file since 12661 was 9366, checked in by toby, 15 years ago

Oops, leave this as a ?=

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1--- Makefile.orig       Sat Jul 13 06:24:16 2002
2+++ Makefile    Mon Nov 22 06:57:56 2004
3@@ -11,19 +11,19 @@
4 # Don't change this even if your shell is different. The only reason
5 # for changing this is if sh is not in the same place.
6 SHELL = /bin/sh
7-CC = gcc
8-CFLAGS = -g
9+CC ?= cc
10+#CFLAGS = -g
11 
12 # Where the executables should be put
13-DESTDIR = /usr/local/bin
14+DESTDIR = $(PREFIX)/bin
15 
16 # Where the man page should be put
17-MANDIR = /usr/local/man/man6
18+MANDIR = $(PREFIX)/share/man/man6
19 
20 # Where figlet will search first for fonts (the ".flf" files).
21-DEFAULTFONTDIR = /usr/local/share/figlet
22+DEFAULTFONTDIR = $(PREFIX)/share/figlet
23 # Use this definition if you can't put things in /usr/local/share/figlet
24-DEFAULTFONTDIR = fonts
25+#DEFAULTFONTDIR = fonts
26 
27 # The filename of the font to be used if no other is specified
28 #   (standard.flf is recommended, but any other can be used).
29@@ -53,7 +53,9 @@
30 
31 install: figlet chkfont
32        mkdir -p $(DEFAULTFONTDIR)
33+       strip figlet
34        cp figlet $(DESTDIR)
35+       strip chkfont
36        cp chkfont $(DESTDIR)
37        cp figlist $(DESTDIR)
38        cp showfigfonts $(DESTDIR)
Note: See TracBrowser for help on using the repository browser.