summaryrefslogtreecommitdiff
path: root/emulators/compat12
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>1998-03-17 21:32:54 +0000
committertv <tv@pkgsrc.org>1998-03-17 21:32:54 +0000
commit26ca2f76156cb6cc9c977aa92ffca07099760030 (patch)
treef98a58cb17848b322476c224ad6ce7e9d659b62b /emulators/compat12
parent9064606119135e5cde24b2c75663575c33c5b942 (diff)
downloadpkgsrc-26ca2f76156cb6cc9c977aa92ffca07099760030.tar.gz
Import of NetBSD 1.2[.1] shared library compat package
Diffstat (limited to 'emulators/compat12')
-rw-r--r--emulators/compat12/Makefile34
-rwxr-xr-xemulators/compat12/files/configure22
-rw-r--r--emulators/compat12/files/md59
-rw-r--r--emulators/compat12/pkg/COMMENT1
-rw-r--r--emulators/compat12/pkg/DESCR5
5 files changed, 71 insertions, 0 deletions
diff --git a/emulators/compat12/Makefile b/emulators/compat12/Makefile
new file mode 100644
index 00000000000..041e2123a83
--- /dev/null
+++ b/emulators/compat12/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: compat12
+# Version required: 1.2
+# Date created: 17 Mar 1998
+# Whom: tv@netbsd.org
+#
+# $NetBSD: Makefile,v 1.1.1.1 1998/03/17 21:32:54 tv Exp $
+#
+
+DISTNAME= compat12
+EXTRACT_SUFX= _${ARCH}.tgz
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+ONLY_FOR_ARCHS= amiga atari hp300 i386 mac68k mvme68k pc532 sparc sun3
+
+MAINTAINER= tv@netbsd.org
+
+HAS_CONFIGURE= yes
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}/usr/lib
+PLIST_SRC= ${WRKSRC}/.PLIST
+
+pre-configure:
+ @${INSTALL} -c -m 755 ${FILESDIR}/configure ${WRKSRC}
+
+post-install:
+post-install:
+ ${LDCONFIG} || ${TRUE}
+
+.include <bsd.port.mk>
+
+# for sun3x in 1.3.x, get sun3 package
+.if (${ARCH} == "sun3x")
+ARCH= sun3
+.endif
diff --git a/emulators/compat12/files/configure b/emulators/compat12/files/configure
new file mode 100755
index 00000000000..5a9f722aa3c
--- /dev/null
+++ b/emulators/compat12/files/configure
@@ -0,0 +1,22 @@
+#!/bin/sh
+# $NetBSD: configure,v 1.1.1.1 1998/03/17 21:32:54 tv Exp $
+# Configure package and create its Makefile and PLIST
+
+echo Configuring compat12 package
+
+for file in lib*.so*; do
+ echo >>Makefile "FILES+=$file"
+ echo >>.PLIST "${PREFIX}/lib/$file"
+done
+
+cat >>Makefile <<EOF
+
+install:
+ @echo Installing...
+ \${BSD_INSTALL_DATA} \${FILES} \${PREFIX}/lib
+EOF
+
+cat >>.PLIST <<EOF
+@exec /sbin/ldconfig || /usr/bin/true
+@unexec /sbin/ldconfig || /usr/bin/true
+EOF
diff --git a/emulators/compat12/files/md5 b/emulators/compat12/files/md5
new file mode 100644
index 00000000000..16cb2d7459d
--- /dev/null
+++ b/emulators/compat12/files/md5
@@ -0,0 +1,9 @@
+MD5 (compat12_amiga.tgz) = d9d2939fc4607c498bddb34c47e051f5
+MD5 (compat12_atari.tgz) = 258286a20c74f07eeaf770c159f65cad
+MD5 (compat12_hp300.tgz) = 76f7eda9ecd6830ba52ec748e2db7d9a
+MD5 (compat12_i386.tgz) = 1be7cc9e943c3010ea32d8c3e188db4a
+MD5 (compat12_mac68k.tgz) = ef69cadb5b7b4a9389060fa51949294a
+MD5 (compat12_mvme68k.tgz) = 7acb6bbdafd8412e8a467c8923c596ee
+MD5 (compat12_pc532.tgz) = 5ee4752065e2431812fb7201e3be90ea
+MD5 (compat12_sparc.tgz) = 687bd864d1ee5436f349f58cb59384f0
+MD5 (compat12_sun3.tgz) = 7765a72206b21a222d1e778c3cb7cabe
diff --git a/emulators/compat12/pkg/COMMENT b/emulators/compat12/pkg/COMMENT
new file mode 100644
index 00000000000..7545549c159
--- /dev/null
+++ b/emulators/compat12/pkg/COMMENT
@@ -0,0 +1 @@
+Shared libraries for NetBSD 1.2 (and earlier) compatibility
diff --git a/emulators/compat12/pkg/DESCR b/emulators/compat12/pkg/DESCR
new file mode 100644
index 00000000000..61691c032f8
--- /dev/null
+++ b/emulators/compat12/pkg/DESCR
@@ -0,0 +1,5 @@
+This package supplies the user files necessary for full compatibility with
+dynamically linked executables compiled under NetBSD 1.2 (and 1.2.1) and
+earlier releases. You still need the option COMPAT_12 in your kernel
+configuration (and probably others; see options(4) for more information)
+to make use of NetBSD 1.2 binaries.