freebsd-ports/sysutils/fonteditfs/files/patch-Makefile
Chin-San Huang 44ad072e98 - Update to 1.1
PR:		ports/130138
Submitted by:	chinsan
Approved by:	Uri Shaked (maintainer)
2009-01-03 21:58:44 +00:00

28 lines
713 B
Text

--- Makefile.orig 2009-01-04 01:11:33.000000000 +0800
+++ Makefile 2009-01-04 01:13:51.000000000 +0800
@@ -1,22 +1,16 @@
# Makefile for Fonteditfs.
# 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 font.o
gcc -o fnteditfs fnteditfs.o font.o -lcurses
strip fnteditfs
-fnteditfs.o: fnteditfs.c font.h
font.o: font.c font.h
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