Set the install-path via configure instead of patching Makefile.in

The change gets rid of the sole patch -- and thus the entire files/ -- by using
a Makefile-knob.

The resulting build is exactly the same -- no need to bump PORTREVISION.

PR:		244107
Submitted by:	mi
This commit is contained in:
Emanuel Haupt 2020-02-13 23:42:42 +00:00
parent 53b20d6e60
commit 2d6803abe7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=526076
2 changed files with 1 additions and 13 deletions

View File

@ -13,6 +13,7 @@ COMMENT= Compression program similar to gzip or bzip2
LICENSE= GPLv2
GNU_CONFIGURE= yes
GNU_CONFIGURE_PREFIX=${STAGEDIR}${PREFIX}
PLIST_FILES= bin/rzip man/man1/rzip.1.gz

View File

@ -1,13 +0,0 @@
--- Makefile.in.orig 2006-02-14 00:38:23 UTC
+++ Makefile.in
@@ -3,8 +3,8 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
-INSTALL_BIN=$(exec_prefix)/bin
-INSTALL_MAN=$(prefix)/man
+INSTALL_BIN=$(DESTDIR)$(exec_prefix)/bin
+INSTALL_MAN=$(DESTDIR)$(prefix)/man
LIBS=@LIBS@
CC=@CC@