summaryrefslogtreecommitdiff
path: root/converters/macfork
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-09-26 05:36:18 +0000
committerjlam <jlam@pkgsrc.org>2001-09-26 05:36:18 +0000
commit12b282ca315db6799630896e761a958fdd714ea8 (patch)
tree439cd6795b568e84738eac05e5cecfc07d42a718 /converters/macfork
parent81bfb07948176a3398908b35a3aea93c1e36a7db (diff)
downloadpkgsrc-12b282ca315db6799630896e761a958fdd714ea8.tar.gz
converters/macfork - simple macintosh resource fork tool
A unix utility for extracting resources from a macintosh resource fork. Currently macfork only directly supports icon families, pict files, and palettes, but any resource data can be extracted to a file. Provided in pkg/13925 by Johan Danielsson <joda@pdc.kth.se>.
Diffstat (limited to 'converters/macfork')
-rw-r--r--converters/macfork/Makefile22
-rw-r--r--converters/macfork/distinfo5
-rw-r--r--converters/macfork/patches/patch-aa13
-rw-r--r--converters/macfork/pkg/DESCR3
-rw-r--r--converters/macfork/pkg/PLIST4
5 files changed, 47 insertions, 0 deletions
diff --git a/converters/macfork/Makefile b/converters/macfork/Makefile
new file mode 100644
index 00000000000..fcafcbae452
--- /dev/null
+++ b/converters/macfork/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/09/26 05:36:18 jlam Exp $
+
+DISTNAME= macfork-1.0
+WRKSRC= ${WRKDIR}/macfork
+CATEGORIES= converters
+MASTER_SITES= http://www.cs.cmu.edu/~ajw/public/dist/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.cs.cmu.edu/afs/cs/user/ajw/www/software/
+COMMENT= Tool for extracting data from Macintosh resource forks
+
+USE_BUILDLINK_ONLY= YES
+USE_GMAKE= YES
+
+DOCDIR= ${PREFIX}/share/doc/macfork
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/macfork ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/converters/macfork/distinfo b/converters/macfork/distinfo
new file mode 100644
index 00000000000..6f54d14b6f3
--- /dev/null
+++ b/converters/macfork/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/09/26 05:36:18 jlam Exp $
+
+SHA1 (macfork-1.0.tar.gz) = 86cbf8a7a3c65bd168f40ef9ab1e1a73161abdd0
+Size (macfork-1.0.tar.gz) = 15451 bytes
+SHA1 (patch-aa) = 68721ccd60464527b442b5bab1397cc1b4e26ee8
diff --git a/converters/macfork/patches/patch-aa b/converters/macfork/patches/patch-aa
new file mode 100644
index 00000000000..288cddde748
--- /dev/null
+++ b/converters/macfork/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/09/26 05:36:18 jlam Exp $
+
+--- Resource.cc~ Tue Aug 31 19:10:19 1999
++++ Resource.cc Mon Sep 3 21:12:01 2001
+@@ -9,6 +9,8 @@
+ */
+
+ #include "Resource.h"
++#include <sys/types.h>
++#include <sys/socket.h>
+ #include <netinet/in.h>
+
+ #define dprintf if (0) printf
diff --git a/converters/macfork/pkg/DESCR b/converters/macfork/pkg/DESCR
new file mode 100644
index 00000000000..b1c9b46573d
--- /dev/null
+++ b/converters/macfork/pkg/DESCR
@@ -0,0 +1,3 @@
+A UN*X utility for extracting resources from a Macintosh resource
+fork. Currently macfork only directly supports icon families, pict
+files, and palettes, but any resource data can be extracted to a file.
diff --git a/converters/macfork/pkg/PLIST b/converters/macfork/pkg/PLIST
new file mode 100644
index 00000000000..fc381c3e4de
--- /dev/null
+++ b/converters/macfork/pkg/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/09/26 05:36:18 jlam Exp $
+bin/macfork
+share/doc/macfork/README
+@dirrm share/doc/macfork