1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/sysutils/dmg2img/files/patch-Makefile
Sylvio Cesar Teixeira 86fd2edceb - Update to 1.6.2
PR:		ports/148768
Submitted by:	Gvozdikov Veniamin <g.veniamin@googlemail.com> (maintainer)
2010-07-23 16:22:12 +00:00

21 lines
494 B
Plaintext

--- Makefile.orig 2010-03-25 03:38:08.000000000 +0700
+++ Makefile 2010-07-20 02:29:20.000000000 +0800
@@ -1,6 +1,7 @@
#CC = gcc
CFLAGS = -O2 -Wall
-BIN_DIR = ${DESTDIR}/usr/bin
+BIN_DIR = %%PREFIX%%
+INSTALL = /usr/bin/install -m 755
all: dmg2img vfdecrypt
@@ -21,7 +22,7 @@
install: dmg2img vfdecrypt
mkdir -p ${BIN_DIR}
- install -c -s -m 755 -o root -g root dmg2img vfdecrypt $(BIN_DIR)
+ $(INSTALL) dmg2img vfdecrypt $(BIN_DIR)
clean:
rm -f dmg2img vfdecrypt *~ *.o core