aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-18 18:14:01 +0800
committervanilla <vanilla@FreeBSD.org>2014-06-18 18:14:01 +0800
commit758bc229ef877a3793b0b24e9d24b3f4d22cc779 (patch)
treef1b5225cf32345a3b8333cf3258d93617fd7eef0 /math
parentb90e6b1c2efe77b7ade14885151f7b9b43a53146 (diff)
downloadfreebsd-ports-gnome-758bc229ef877a3793b0b24e9d24b3f4d22cc779.tar.gz
freebsd-ports-gnome-758bc229ef877a3793b0b24e9d24b3f4d22cc779.tar.zst
freebsd-ports-gnome-758bc229ef877a3793b0b24e9d24b3f4d22cc779.zip
Stagify.
Approved by: portmgr@
Diffstat (limited to 'math')
-rw-r--r--math/entropy/Makefile5
-rw-r--r--math/entropy/files/patch-Makefile13
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