From 86fd2edcebd16804bca478e181a397dc14841bb7 Mon Sep 17 00:00:00 2001 From: Sylvio Cesar Teixeira Date: Fri, 23 Jul 2010 16:22:12 +0000 Subject: - Update to 1.6.2 PR: ports/148768 Submitted by: Gvozdikov Veniamin (maintainer) --- sysutils/dmg2img/Makefile | 6 +++++- sysutils/dmg2img/distinfo | 6 +++--- sysutils/dmg2img/files/patch-Makefile | 11 +++++------ 3 files changed, 13 insertions(+), 10 deletions(-) (limited to 'sysutils/dmg2img') 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 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} -- cgit v1.2.3