1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

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>
This commit is contained in:
Martin Wilke 2010-01-27 01:12:11 +00:00
parent 1bd9ffabd4
commit 5ba6df4e10
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=248656
5 changed files with 51 additions and 0 deletions

View File

@ -163,6 +163,7 @@
SUBDIR += disktool
SUBDIR += disktype
SUBDIR += djmount
SUBDIR += dmg2img
SUBDIR += dmidecode
SUBDIR += dolly
SUBDIR += dolly+

22
sysutils/dmg2img/Makefile Normal file
View File

@ -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>

View File

@ -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

View File

@ -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

View File

@ -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/