aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/hfsexplorer
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2010-11-20 01:34:51 +0800
committerrene <rene@FreeBSD.org>2010-11-20 01:34:51 +0800
commit6229e794071b2430c0f042f778a8ed5ad028f7ac (patch)
tree684b4bfb7c2f48c688a89fbecb52d2deec3eb258 /sysutils/hfsexplorer
parentd52d8fc567e0e4d79794a32a4142117581da4d45 (diff)
downloadfreebsd-ports-gnome-6229e794071b2430c0f042f778a8ed5ad028f7ac.tar.gz
freebsd-ports-gnome-6229e794071b2430c0f042f778a8ed5ad028f7ac.tar.zst
freebsd-ports-gnome-6229e794071b2430c0f042f778a8ed5ad028f7ac.zip
HFSExplorer is an application that can read Mac-formatted hard disks and disk
images. It can read the file systems HFS (Mac OS Standard), HFS+ (Mac OS Extended) and HFSX (Mac OS Extended with case sensitive file names). HFSExplorer allows you to browse your Mac volumes with a graphical file system browser, extract files (copy to hard disk), view detailed information about the volume and create disk images from the volume. HFSExplorer can also read most .dmg disk images created on a Mac, including zlib / bzip2 compressed images and AES-128 encrypted images. It supports the partition schemes Master Boot Record, GUID Partition Table and Apple Partition Map natively. WWW: http://hem.bredband.net/catacombae/hfsx.html PR: ports/149069 Submitted by: Gvozdikov Veniamin [g.veniamin googlemail.com]
Diffstat (limited to 'sysutils/hfsexplorer')
-rw-r--r--sysutils/hfsexplorer/Makefile56
-rw-r--r--sysutils/hfsexplorer/distinfo2
-rw-r--r--sysutils/hfsexplorer/pkg-descr13
-rw-r--r--sysutils/hfsexplorer/pkg-plist21
4 files changed, 92 insertions, 0 deletions
diff --git a/sysutils/hfsexplorer/Makefile b/sysutils/hfsexplorer/Makefile
new file mode 100644
index 000000000000..979d387d70a3
--- /dev/null
+++ b/sysutils/hfsexplorer/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: hfsexplorer
+# Date created: 2009-11-27
+# Whom: Gvozdikov Veniamin <g.veniamin@googlemail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= hfsexplorer
+PORTVERSION= 0.21
+CATEGORIES= sysutils java
+MASTER_SITES= SF/catacombae/HFSExplorer/${PORTVERSION}/
+DISTNAME= ${PORTNAME}-0_21-src
+
+MAINTAINER= g.veniamin@googlemail.com
+COMMENT= HFSExplorer read Mac-formatted harddisks and disk images
+
+RUN_DEPENDS= ant:${PORTSDIR}/devel/apache-ant
+
+LICENSE= GPLv3
+
+DESKTOP_ENTRIES="hfsexplorer" "reader Mac-formatted harddisk" \
+ "${DATADIR}/res/icon.png" "${PORTNAME}" \
+ "System;Utility;Java;" false
+
+USE_ZIP= yes
+USE_JAVA= yes
+JAVA_VERSION= 1.6
+
+WRKSRC= ${WRKDIR}
+
+do-configure:
+ @cd ${WRKSRC}/dist && ${REINPLACE_CMD} -e 's|lib/|${DATADIR}/lib/|g' \
+ hfsx.sh resview.sh unhfs.sh
+ @${REINPLACE_CMD} -e 's|lib|${DATADIR}/lib|g' \
+ ${WRKSRC}/dist/runfsb.sh
+
+do-build:
+ @cd ${WRKSRC} && ${SH} buildall.sh
+
+do-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @cd ${WRKSRC}/dist/doc && ${COPYTREE_SHARE} html ${DOCSDIR}/
+.endif
+
+post-install:
+ @${MKDIR} ${DATADIR}/lib
+ @${MKDIR} ${DATADIR}/res
+.for f in hfsx.sh resview.sh unhfs.sh
+ @cd ${WRKSRC} && ${INSTALL_SCRIPT} dist/${f} ${PREFIX}/bin
+.endfor
+ @cd ${WRKSRC} && ${INSTALL_SCRIPT} dist/runfsb.sh ${PREFIX}/bin/${PORTNAME}
+ @cd ${WRKSRC} && ${INSTALL_DATA} dist/lib/*.jar ${DATADIR}/lib
+ @cd ${WRKSRC} && ${INSTALL_DATA} dist/res/icon.png ${DATADIR}/res
+
+.include <bsd.port.mk>
diff --git a/sysutils/hfsexplorer/distinfo b/sysutils/hfsexplorer/distinfo
new file mode 100644
index 000000000000..ae4c24dbbb1a
--- /dev/null
+++ b/sysutils/hfsexplorer/distinfo
@@ -0,0 +1,2 @@
+SHA256 (hfsexplorer-0_21-src.zip) = e7323180df5d468e31a5053411c4f811b15a7ad140802c2f6a60b16f0534e0f9
+SIZE (hfsexplorer-0_21-src.zip) = 2290547
diff --git a/sysutils/hfsexplorer/pkg-descr b/sysutils/hfsexplorer/pkg-descr
new file mode 100644
index 000000000000..c84c95890e98
--- /dev/null
+++ b/sysutils/hfsexplorer/pkg-descr
@@ -0,0 +1,13 @@
+HFSExplorer is an application that can read Mac-formatted hard disks and disk
+images. It can read the file systems HFS (Mac OS Standard), HFS+ (Mac OS
+Extended) and HFSX (Mac OS Extended with case sensitive file names).
+
+HFSExplorer allows you to browse your Mac volumes with a graphical file system
+browser, extract files (copy to hard disk), view detailed information about the
+volume and create disk images from the volume.
+HFSExplorer can also read most .dmg disk images created on a Mac, including zlib
+/ bzip2 compressed images and AES-128 encrypted images. It supports the
+partition schemes Master Boot Record, GUID Partition Table and Apple Partition
+Map natively.
+
+WWW: http://hem.bredband.net/catacombae/hfsx.html
diff --git a/sysutils/hfsexplorer/pkg-plist b/sysutils/hfsexplorer/pkg-plist
new file mode 100644
index 000000000000..f3aa7cc15fd5
--- /dev/null
+++ b/sysutils/hfsexplorer/pkg-plist
@@ -0,0 +1,21 @@
+bin/hfsexplorer
+bin/hfsx.sh
+bin/resview.sh
+bin/unhfs.sh
+%%DATADIR%%/lib/apache-ant-1.7.0-bzip2.jar
+%%DATADIR%%/lib/csframework.jar
+%%DATADIR%%/lib/hfsx.jar
+%%DATADIR%%/lib/hfsx_dmglib.jar
+%%DATADIR%%/lib/iharder-base64.jar
+%%DATADIR%%/lib/swing-layout-1.0.3.jar
+%%DATADIR%%/res/icon.png
+%%PORTDOCS%%%%DOCSDIR%%/html/img/HFSExplorer_logo.png
+%%PORTDOCS%%%%DOCSDIR%%/html/index.html
+%%PORTDOCS%%%%DOCSDIR%%/html/troubleshooting.html
+%%PORTDOCS%%%%DOCSDIR%%/html/usage.html
+@dirrm %%DATADIR%%/res
+@dirrm %%DATADIR%%/lib
+@dirrm %%DATADIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/img
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%