summaryrefslogtreecommitdiff
path: root/emulators/freebsd_lib/Makefile
diff options
context:
space:
mode:
authorexplorer <explorer@pkgsrc.org>1998-09-02 20:57:02 +0000
committerexplorer <explorer@pkgsrc.org>1998-09-02 20:57:02 +0000
commita5d6bb8cb883af7d96412e8749ceab69d4a5a9b4 (patch)
tree9996b0959824b36841d9fef0d0208f6c95c00b8b /emulators/freebsd_lib/Makefile
parent0400297c674a6004933ff69db365b599d9b76526 (diff)
downloadpkgsrc-a5d6bb8cb883af7d96412e8749ceab69d4a5a9b4.tar.gz
Initial import of FreeBSD compatability libraries, needed for
the COMPAT_FREEBSD kernel option to do any good. This makes the FreeBSD Netscape run at least.
Diffstat (limited to 'emulators/freebsd_lib/Makefile')
-rw-r--r--emulators/freebsd_lib/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/emulators/freebsd_lib/Makefile b/emulators/freebsd_lib/Makefile
new file mode 100644
index 00000000000..689a7db5636
--- /dev/null
+++ b/emulators/freebsd_lib/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 1998/09/02 20:57:02 explorer Exp $
+#
+
+DISTNAME= freebsd_lib-2.2.7
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_LOCAL} http://www.flame.org/NetBSD/
+ONLY_FOR_ARCHS= i386
+
+MAINTAINER= packages@netbsd.org
+
+# The distfile is distributed under the GPL, so no re-distribution of
+# binaries without source.
+MIRROR_DISTFILE= no
+
+NO_BUILD= yes
+EXTRACT_ONLY= # empty
+NO_WRKSUBDIR= yes
+
+EMUL_DIR= ${PREFIX}/emul
+FREEBSD_DIR= ${EMUL_DIR}/freebsd
+
+pre-install:
+ @[ -d ${EMUL_DIR} ] || ${MKDIR} ${EMUL_DIR}
+ @if [ ! -e /emul ] || \
+ [ "`ls -i /emul/.`" != "`ls -i ${EMUL_DIR}`" ]; \
+ then \
+ ${ECHO} -n "You must create a link \"/emul\" "; \
+ ${ECHO} "pointing to \"${EMUL_DIR}\"."; \
+ exit 1; \
+ fi
+
+do-install:
+ ${MKDIR} ${FREEBSD_DIR}
+ (cd ${FREEBSD_DIR}; pax -rzf ${DISTDIR}/${DISTNAME}.tar.gz)
+
+.include "../../mk/bsd.pkg.mk"