aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-01-27 01:12:11 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-01-27 01:12:11 +0000
commit5ba6df4e104d1a2f122af7dda91258deec13656b (patch)
tree61f80f6adb7ac6a8ed392b7cf170a60018c9dca0
parent1bd9ffabd4eb47ebeabc9fcb3b40a30e15fc4174 (diff)
downloadports-5ba6df4e104d1a2f122af7dda91258deec13656b.tar.gz
ports-5ba6df4e104d1a2f122af7dda91258deec13656b.zip
Notes
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/dmg2img/Makefile22
-rw-r--r--sysutils/dmg2img/distinfo3
-rw-r--r--sysutils/dmg2img/files/patch-Makefile21
-rw-r--r--sysutils/dmg2img/pkg-descr4
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/