summaryrefslogtreecommitdiff
path: root/sysutils/fonteditfs/files/patch-Makefile
diff options
context:
space:
mode:
authorFoxfair Hu <foxfair@FreeBSD.org>2003-05-13 04:08:02 +0000
committerFoxfair Hu <foxfair@FreeBSD.org>2003-05-13 04:08:02 +0000
commit8d61d21b484a020678da65b4cf9840110383c287 (patch)
treee055ec228fbd14a9321aaa47c5ac898efcbaffed /sysutils/fonteditfs/files/patch-Makefile
parentThis program only needs the getopt() from unistd.h, not (diff)
Add fonteditfs 1.0, a Full Screen Syscons Font Editor.
PR: 45965 Submitted by: uri@keves.org
Diffstat (limited to 'sysutils/fonteditfs/files/patch-Makefile')
-rw-r--r--sysutils/fonteditfs/files/patch-Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/sysutils/fonteditfs/files/patch-Makefile b/sysutils/fonteditfs/files/patch-Makefile
new file mode 100644
index 000000000000..9bf93ccfd8dd
--- /dev/null
+++ b/sysutils/fonteditfs/files/patch-Makefile
@@ -0,0 +1,27 @@
+--- Makefile.orig Sun Sep 29 18:01:01 2002
++++ Makefile Sat Oct 12 21:05:22 2002
+@@ -1,20 +1,14 @@
+ # This makefile should work under most POSIX OSes (at least FreeBSD)
+
+-BINDIR = /usr/local/bin
+-MANDIR = /usr/local/man
+-
+-
+-CFLAGS = -O2 -pipe -Wall
++all: fnteditfs
+
+ fnteditfs: fnteditfs.o
+- gcc -o fnteditfs fnteditfs.c -lcurses
++ gcc -o fnteditfs fnteditfs.o -lcurses
+ strip fnteditfs
+
+-fnteditfs.o: fnteditfs.c
+-
+ install: fnteditfs fnteditfs.1
+- cp fnteditfs $(BINDIR)
+- gzip < fnteditfs.1 > $(MANDIR)/man1/fnteditfs.1.gz
++ __INSTALL_SCRIPT__ fnteditfs __PREFIX__/bin
++ __INSTALL_MAN__ fnteditfs.1 __PREFIX__/man/man1
+
+ clean:
+ rm -f *.o fnteditfs