mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-30 21:49:25 +00:00
21667adc4b
Locks the terminal while showing fortunes. PR: 18288 Submitted by: Daniel Harris <dannyboy@subdimension.com>
29 lines
754 B
Plaintext
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
|