summaryrefslogtreecommitdiff
path: root/archivers/nulib2
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2001-03-11 03:01:02 +0000
committertv <tv@pkgsrc.org>2001-03-11 03:01:02 +0000
commitb0507750d35237491544d051b7b432bc66c9f626 (patch)
tree6238fed694131a9309711a2fe24259c0b51b6f06 /archivers/nulib2
parentc01aa80f0b5a22a9c6fe73a2cefb4fdd7c5b1c82 (diff)
downloadpkgsrc-b0507750d35237491544d051b7b432bc66c9f626.tar.gz
Import nulib2, an Apple II archive file handler.
*** NuLib is a disk and file archive program, similar in principle to PKZIP. Instead of ZIP archives, it manipulates NuFX archives, which are usually identified with ".SHK", ".SDK", or ".BXY". The ".SHK" file extension is derived from ShrinkIt, the de facto archiving standard for Apple II computers.
Diffstat (limited to 'archivers/nulib2')
-rw-r--r--archivers/nulib2/Makefile21
-rw-r--r--archivers/nulib2/files/md53
-rw-r--r--archivers/nulib2/files/patch-sum4
-rw-r--r--archivers/nulib2/patches/patch-aa14
-rw-r--r--archivers/nulib2/patches/patch-ab17
-rw-r--r--archivers/nulib2/pkg/DESCR6
-rw-r--r--archivers/nulib2/pkg/PLIST3
7 files changed, 68 insertions, 0 deletions
diff --git a/archivers/nulib2/Makefile b/archivers/nulib2/Makefile
new file mode 100644
index 00000000000..0e8bcfa11a7
--- /dev/null
+++ b/archivers/nulib2/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/03/11 03:01:02 tv Exp $
+#
+
+DISTNAME= nulibdist
+PKGNAME= nulib2-1.0.1
+CATEGORIES= archivers
+MASTER_SITES= http://www.nulib.com/downloads/
+
+MAINTAINER= tv@netbsd.org
+HOMEPAGE= http://www.nulib.com/
+COMMENT= Handles Apple II ShrinkIt (NuFX) file/disk archives
+
+WRKSRC= ${WRKDIR}/nulib2-101
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --cache-file=${WRKDIR}/config.cache
+
+.include "../../mk/bsd.pkg.mk"
+
+# nulib2 needs this to identify a Unixlike system
+CFLAGS+= -D__unix__
diff --git a/archivers/nulib2/files/md5 b/archivers/nulib2/files/md5
new file mode 100644
index 00000000000..6d2e66ba6af
--- /dev/null
+++ b/archivers/nulib2/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/03/11 03:01:02 tv Exp $
+
+MD5 (nulibdist.tar.gz) = ec6035d364ff1b652ec0e291e8d683a2
diff --git a/archivers/nulib2/files/patch-sum b/archivers/nulib2/files/patch-sum
new file mode 100644
index 00000000000..fd224c86475
--- /dev/null
+++ b/archivers/nulib2/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2001/03/11 03:01:02 tv Exp $
+
+MD5 (patch-aa) = b015e73fa744c37a393aaeb0cf597b41
+MD5 (patch-ab) = d5d58f45f39130477b46abd5693c78a1
diff --git a/archivers/nulib2/patches/patch-aa b/archivers/nulib2/patches/patch-aa
new file mode 100644
index 00000000000..63b51ccf8b1
--- /dev/null
+++ b/archivers/nulib2/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/03/11 03:01:02 tv Exp $
+
+--- configure.orig Sat Mar 10 21:41:17 2001
++++ configure Sat Mar 10 21:42:16 2001
+@@ -7,6 +7,9 @@
+ # This configure script is free software; the Free Software Foundation
+ # gives unlimited permission to copy, distribute and modify it.
+
++# XXX - until pkgsrc has a sane way to invoke multiple "configure" scripts
++(cd ../nufxlib-101 && ./configure ${1+$@})
++
+ # Defaults:
+ ac_help=
+ ac_default_prefix=/usr/local
diff --git a/archivers/nulib2/patches/patch-ab b/archivers/nulib2/patches/patch-ab
new file mode 100644
index 00000000000..19ead552d9a
--- /dev/null
+++ b/archivers/nulib2/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/03/11 03:01:02 tv Exp $
+
+--- Makefile.in.orig Mon May 22 20:42:57 2000
++++ Makefile.in Sat Mar 10 21:48:59 2001
+@@ -64,7 +64,11 @@
+ # Build stuff
+ #
+
+-all: $(PRODUCT)
++# XXX - until pkgsrc has a sane way to invoke multiple "build" targets
++../nufxlib-101/libnufx.a:
++ cd ../nufxlib-101 && $(MAKE)
++
++all: ../nufxlib-101/libnufx.a $(PRODUCT)
+ @true
+
+ install: $(PRODUCT)
diff --git a/archivers/nulib2/pkg/DESCR b/archivers/nulib2/pkg/DESCR
new file mode 100644
index 00000000000..cc8d239d8b8
--- /dev/null
+++ b/archivers/nulib2/pkg/DESCR
@@ -0,0 +1,6 @@
+NuLib is a disk and file archive program, similar in principle to PKZIP.
+Instead of ZIP archives, it manipulates NuFX archives, which are usually
+identified with ".SHK", ".SDK", or ".BXY".
+
+The ".SHK" file extension is derived from ShrinkIt, the de facto
+archiving standard for Apple II computers.
diff --git a/archivers/nulib2/pkg/PLIST b/archivers/nulib2/pkg/PLIST
new file mode 100644
index 00000000000..4a421e7f3fa
--- /dev/null
+++ b/archivers/nulib2/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/11 03:01:02 tv Exp $
+bin/nulib2
+man/man1/nulib2.1