From ecd391ebd4e4b72e74541259f58a925145bc1d01 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Wed, 18 Jun 2014 10:14:01 +0000 Subject: [PATCH] Stagify. Approved by: portmgr@ --- math/entropy/Makefile | 5 +---- math/entropy/files/patch-Makefile | 13 +++++++++++++ 2 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 math/entropy/files/patch-Makefile 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 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