1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/sysutils/fortunelock/files/patch-aa
Steve Price 21667adc4b Initial import of fortunlock version 0.1.2.
Locks the terminal while showing fortunes.

PR:		18288
Submitted by:	Daniel Harris <dannyboy@subdimension.com>
2000-04-30 00:35:15 +00:00

29 lines
754 B
Plaintext

--- Makefile.orig Thu Apr 20 14:15:07 2000
+++ Makefile Wed Apr 26 19:16:04 2000
@@ -1,10 +1,10 @@
-CC=gcc
-CFLAGS=-O3
+CC?=gcc
+CFLAGS?=-O3
#CFLAGS=-O3 -Wall -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -pedantic -ansi
#CFLAGS=-g -Wall -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -pedantic -ansi
TARGET=fortunelock
LIBS=-lncurses
-PREFIXDIR=/usr/local
+PREFIX?=/usr/local
all: $(TARGET)
@@ -19,8 +19,8 @@
install:
strip fortunelock
- install -m 755 fortunelock $(PREFIXDIR)/bin
- install -m 644 fortunelock.1 $(PREFIXDIR)/man/man1
+ install -c -m 755 fortunelock $(PREFIX)/bin
+ install -c -m 644 fortunelock.1 $(PREFIX)/man/man1
uninstall:
- rm -rf $(PREFIXDIR)/bin/fortunelock
+ rm -rf $(PREFIX)/bin/fortunelock