diff options
Diffstat (limited to 'sysutils/fortunelock')
-rw-r--r-- | sysutils/fortunelock/Makefile | 5 | ||||
-rw-r--r-- | sysutils/fortunelock/files/patch-aa | 10 |
2 files changed, 6 insertions, 9 deletions
diff --git a/sysutils/fortunelock/Makefile b/sysutils/fortunelock/Makefile index cf51610eccee..a48ba2187359 100644 --- a/sysutils/fortunelock/Makefile +++ b/sysutils/fortunelock/Makefile @@ -12,9 +12,6 @@ COMMENT= Locks a terminal while showing fortunes USE_BZIP2= yes -MAN1= fortunelock.1 -MANCOMPRESSED= no -PLIST_FILES= bin/fortunelock +PLIST_FILES= bin/fortunelock man/man1/${PORTNAME}.1.gz -NO_STAGE= yes .include <bsd.port.mk> diff --git a/sysutils/fortunelock/files/patch-aa b/sysutils/fortunelock/files/patch-aa index 440a2c72e4ef..d6fdac07c8a0 100644 --- a/sysutils/fortunelock/files/patch-aa +++ b/sysutils/fortunelock/files/patch-aa @@ -1,5 +1,5 @@ ---- Makefile.orig Thu Apr 20 14:15:07 2000 -+++ Makefile Wed Apr 26 19:16:04 2000 +--- Makefile.orig 2000-04-21 05:15:07.000000000 +0800 ++++ Makefile 2013-11-09 19:38:12.000000000 +0800 @@ -1,10 +1,10 @@ -CC=gcc -CFLAGS=-O3 @@ -14,14 +14,14 @@ all: $(TARGET) -@@ -19,8 +19,8 @@ +@@ -19,8 +19,8 @@ fortunelock.o: fortunelock.c fortunelock 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 ++ install -c -m 755 fortunelock $(DESTDIR)$(PREFIX)/bin ++ install -c -m 644 fortunelock.1 $(DESTDIR)$(PREFIX)/man/man1 uninstall: - rm -rf $(PREFIXDIR)/bin/fortunelock |