diff options
author | miwi <miwi@FreeBSD.org> | 2010-01-27 09:12:11 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2010-01-27 09:12:11 +0800 |
commit | b35bab25673b129532e862e77d41dfe9cfd9c8ad (patch) | |
tree | 49bb26910b2c0e5a25aa5f18cf9200e793863eb0 /sysutils | |
parent | e41683f7291cdab9238ada2440f3df53db661318 (diff) | |
download | freebsd-ports-gnome-b35bab25673b129532e862e77d41dfe9cfd9c8ad.tar.gz freebsd-ports-gnome-b35bab25673b129532e862e77d41dfe9cfd9c8ad.tar.zst freebsd-ports-gnome-b35bab25673b129532e862e77d41dfe9cfd9c8ad.zip |
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 <g.veniamin at googlemail.com>
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/dmg2img/Makefile | 22 | ||||
-rw-r--r-- | sysutils/dmg2img/distinfo | 3 | ||||
-rw-r--r-- | sysutils/dmg2img/files/patch-Makefile | 21 | ||||
-rw-r--r-- | sysutils/dmg2img/pkg-descr | 4 |
5 files changed, 51 insertions, 0 deletions
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 <g.veniamin@googlemail.com> +# +# $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 <bsd.port.mk> 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/ |