aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/dmg2img
diff options
context:
space:
mode:
authorsylvio <sylvio@FreeBSD.org>2010-07-24 00:22:12 +0800
committersylvio <sylvio@FreeBSD.org>2010-07-24 00:22:12 +0800
commit283874ae59c35180e6d2ae926b53ca86b32aa259 (patch)
tree96534ecd7cd01b79f857696a1f7b461c90172272 /sysutils/dmg2img
parent49a315eb1067f1a0f9abac7c2358589f5214ae9f (diff)
downloadfreebsd-ports-gnome-283874ae59c35180e6d2ae926b53ca86b32aa259.tar.gz
freebsd-ports-gnome-283874ae59c35180e6d2ae926b53ca86b32aa259.tar.zst
freebsd-ports-gnome-283874ae59c35180e6d2ae926b53ca86b32aa259.zip
- Update to 1.6.2
PR: ports/148768 Submitted by: Gvozdikov Veniamin <g.veniamin@googlemail.com> (maintainer)
Diffstat (limited to 'sysutils/dmg2img')
-rw-r--r--sysutils/dmg2img/Makefile6
-rw-r--r--sysutils/dmg2img/distinfo6
-rw-r--r--sysutils/dmg2img/files/patch-Makefile11
3 files changed, 13 insertions, 10 deletions
diff --git a/sysutils/dmg2img/Makefile b/sysutils/dmg2img/Makefile
index f2e93c0cf02e..f3396129161b 100644
--- a/sysutils/dmg2img/Makefile
+++ b/sysutils/dmg2img/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= dmg2img
-PORTVERSION= 1.6.1
+PORTVERSION= 1.6.2
CATEGORIES= sysutils
MASTER_SITES= http://fbsd.zlonet.ru/distfiles/ \
http://tourservice.kz/zloidemon/distfiles/ \
@@ -19,4 +19,8 @@ COMMENT= DMG2IMG convert tool
PLIST_FILES= bin/${PORTNAME} \
bin/vfdecrypt
+pre-configure:
+ ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}/bin|g' \
+ ${WRKSRC}/Makefile
+
.include <bsd.port.mk>
diff --git a/sysutils/dmg2img/distinfo b/sysutils/dmg2img/distinfo
index 32b7dbb0c20a..23d4b07648e7 100644
--- a/sysutils/dmg2img/distinfo
+++ b/sysutils/dmg2img/distinfo
@@ -1,3 +1,3 @@
-MD5 (dmg2img-1.6.1.tar.gz) = 5111312ea48f63ad7907144717d8b099
-SHA256 (dmg2img-1.6.1.tar.gz) = 55e65c1e47bf78f09fb061b2db4f41c515c0cbaa932e3ff3b40bd2d981946ad2
-SIZE (dmg2img-1.6.1.tar.gz) = 38025
+MD5 (dmg2img-1.6.2.tar.gz) = 296d35daab76d63ff6adad54113a8caa
+SHA256 (dmg2img-1.6.2.tar.gz) = 8f1508a70cbe2275023ec293667790a813fada07fb4a39223e07bd44b3967dc5
+SIZE (dmg2img-1.6.2.tar.gz) = 24541
diff --git a/sysutils/dmg2img/files/patch-Makefile b/sysutils/dmg2img/files/patch-Makefile
index 2a9b94f49bef..f623b1a35a3b 100644
--- a/sysutils/dmg2img/files/patch-Makefile
+++ b/sysutils/dmg2img/files/patch-Makefile
@@ -1,16 +1,15 @@
---- Makefile.orig 2009-11-27 20:07:39.000000000 +0700
-+++ Makefile 2009-11-27 20:08:25.000000000 +0700
-@@ -1,7 +1,8 @@
+--- 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 = -O3
CFLAGS = -O2 -Wall
-BIN_DIR = ${DESTDIR}/usr/bin
-+BIN_DIR = /usr/local/bin
++BIN_DIR = %%PREFIX%%
+INSTALL = /usr/bin/install -m 755
all: dmg2img vfdecrypt
-@@ -22,7 +23,7 @@ vfdecrypt: vfdecrypt.c
+@@ -21,7 +22,7 @@
install: dmg2img vfdecrypt
mkdir -p ${BIN_DIR}