diff options
-rw-r--r-- | math/entropy/Makefile | 5 | ||||
-rw-r--r-- | math/entropy/files/patch-Makefile | 13 |
2 files changed, 14 insertions, 4 deletions
diff --git a/math/entropy/Makefile b/math/entropy/Makefile index 4b4d528a081a..82760a2961bf 100644 --- a/math/entropy/Makefile +++ b/math/entropy/Makefile @@ -9,9 +9,6 @@ MASTER_SITES= http://www.seccuris.com/documents/downloads/ MAINTAINER= csjp@FreeBSD.org COMMENT= Calculate data entropy to benchmark compression algorithms -MAN1= entropy.1 -MANCOMPRESSED= yes -PLIST_FILES= bin/entropy +PLIST_FILES= bin/entropy man/man1/entropy.1.gz -NO_STAGE= yes .include <bsd.port.mk> diff --git a/math/entropy/files/patch-Makefile b/math/entropy/files/patch-Makefile new file mode 100644 index 000000000000..652b7710924a --- /dev/null +++ b/math/entropy/files/patch-Makefile @@ -0,0 +1,13 @@ +--- Makefile.orig 2014-06-18 18:11:21.760498422 +0800 ++++ Makefile 2014-06-18 18:11:35.534517376 +0800 +@@ -12,8 +12,8 @@ entropy: $(OBJS) + $(CC) -o $(PROG) $(OBJS) $(LIBS) + + install: +- cp entropy.1.gz $(PREFIX)/man/man1/ +- cp entropy $(PREFIX)/bin ++ cp entropy.1.gz $(DESTDIR)$(PREFIX)/man/man1/ ++ cp entropy $(DESTDIR)$(PREFIX)/bin + + deinstall: + rm -f $(PREFIX)/man/man1/entropy.1.gz |