From b35bab25673b129532e862e77d41dfe9cfd9c8ad Mon Sep 17 00:00:00 2001 From: miwi Date: Wed, 27 Jan 2010 01:12:11 +0000 Subject: DMG2IMG is an Apple's compressed dmg to standard (hfsplus) image disk file convert tool. It is derived from dmg2iso v0.2c by vu1tur. WWW: http://vu1tur.eu.org/tools/ PR: ports/143156 Submitted by: Gvozdikov Veniamin --- sysutils/Makefile | 1 + sysutils/dmg2img/Makefile | 22 ++++++++++++++++++++++ sysutils/dmg2img/distinfo | 3 +++ sysutils/dmg2img/files/patch-Makefile | 21 +++++++++++++++++++++ sysutils/dmg2img/pkg-descr | 4 ++++ 5 files changed, 51 insertions(+) create mode 100644 sysutils/dmg2img/Makefile create mode 100644 sysutils/dmg2img/distinfo create mode 100644 sysutils/dmg2img/files/patch-Makefile create mode 100644 sysutils/dmg2img/pkg-descr (limited to 'sysutils') diff --git a/sysutils/Makefile b/sysutils/Makefile index 53366b44978a..e808c30c3408 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -163,6 +163,7 @@ SUBDIR += disktool SUBDIR += disktype SUBDIR += djmount + SUBDIR += dmg2img SUBDIR += dmidecode SUBDIR += dolly SUBDIR += dolly+ diff --git a/sysutils/dmg2img/Makefile b/sysutils/dmg2img/Makefile new file mode 100644 index 000000000000..f2e93c0cf02e --- /dev/null +++ b/sysutils/dmg2img/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: dmg2img +# Date created: 2009-11-27 +# Whom: Gvozdikov Veniamin +# +# $FreeBSD$ +# + +PORTNAME= dmg2img +PORTVERSION= 1.6.1 +CATEGORIES= sysutils +MASTER_SITES= http://fbsd.zlonet.ru/distfiles/ \ + http://tourservice.kz/zloidemon/distfiles/ \ + http://z-up.ru/zloidemon/distfiles/ +DISTNAME= ${PORTNAME}-${PORTVERSION} + +MAINTAINER= g.veniamin@googlemail.com +COMMENT= DMG2IMG convert tool + +PLIST_FILES= bin/${PORTNAME} \ + bin/vfdecrypt + +.include diff --git a/sysutils/dmg2img/distinfo b/sysutils/dmg2img/distinfo new file mode 100644 index 000000000000..32b7dbb0c20a --- /dev/null +++ b/sysutils/dmg2img/distinfo @@ -0,0 +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 diff --git a/sysutils/dmg2img/files/patch-Makefile b/sysutils/dmg2img/files/patch-Makefile new file mode 100644 index 000000000000..2a9b94f49bef --- /dev/null +++ b/sysutils/dmg2img/files/patch-Makefile @@ -0,0 +1,21 @@ +--- Makefile.orig 2009-11-27 20:07:39.000000000 +0700 ++++ Makefile 2009-11-27 20:08:25.000000000 +0700 +@@ -1,7 +1,8 @@ + #CC = gcc + ##CFLAGS = -O3 + CFLAGS = -O2 -Wall +-BIN_DIR = ${DESTDIR}/usr/bin ++BIN_DIR = /usr/local/bin ++INSTALL = /usr/bin/install -m 755 + + all: dmg2img vfdecrypt + +@@ -22,7 +23,7 @@ vfdecrypt: vfdecrypt.c + + 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 diff --git a/sysutils/dmg2img/pkg-descr b/sysutils/dmg2img/pkg-descr new file mode 100644 index 000000000000..f2d204089c1a --- /dev/null +++ b/sysutils/dmg2img/pkg-descr @@ -0,0 +1,4 @@ +DMG2IMG is an Apple's compressed dmg to standard (hfsplus) image disk file +convert tool. It is derived from dmg2iso v0.2c by vu1tur. + +WWW: http://vu1tur.eu.org/tools/ -- cgit