aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2008-02-21 05:16:01 +0800
committeralepulver <alepulver@FreeBSD.org>2008-02-21 05:16:01 +0800
commitaa7e54641fd856e85e030842a8c981c2b70bd223 (patch)
tree2b7d6bcb2449e5655c5a07268f699f8b98e92724
parenta18fc2a198b58ffd0c26076d69ed33de20288961 (diff)
downloadfreebsd-ports-gnome-aa7e54641fd856e85e030842a8c981c2b70bd223.tar.gz
freebsd-ports-gnome-aa7e54641fd856e85e030842a8c981c2b70bd223.tar.zst
freebsd-ports-gnome-aa7e54641fd856e85e030842a8c981c2b70bd223.zip
This is port of Robert de Bath's 8086 Linux development environment. It is an
extension to Bruce Evan's C compiler (devel/bcc port). WWW: http://homepage.ntlworld.com/robert.debath/ PR: ports/117480 Submitted by: Philip Schulz <phs at deadc0.de>
-rw-r--r--devel/Makefile1
-rw-r--r--devel/dev86/Makefile29
-rw-r--r--devel/dev86/distinfo3
-rw-r--r--devel/dev86/files/patch-Makefile11
-rw-r--r--devel/dev86/pkg-descr4
-rw-r--r--devel/dev86/pkg-plist24
6 files changed, 72 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 5742459b2b97..a19f631bae84 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -244,6 +244,7 @@
SUBDIR += ddd
SUBDIR += deputy
SUBDIR += desktop-file-utils
+ SUBDIR += dev86
SUBDIR += devhelp
SUBDIR += devtodo
SUBDIR += dfuife-curses
diff --git a/devel/dev86/Makefile b/devel/dev86/Makefile
new file mode 100644
index 000000000000..fc1f22f1c65b
--- /dev/null
+++ b/devel/dev86/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: dev86
+# Date created: 25 October 2007
+# Whom: Philip Schulz <phs@deadc0.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dev86
+PORTVERSION= 0.16.17
+CATEGORIES= devel
+MASTER_SITES= http://homepage.ntlworld.com/robert.debath/dev86/
+DISTNAME= Dev86src-${PORTVERSION}
+
+MAINTAINER= phs@deadc0.de
+COMMENT= Robert de Bath's 8086 development tools
+
+CONFLICTS= bcc-[0-9]* \
+ bin86-[0-9]*
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+MAN1= as86.1 bcc.1 elks.1 elksemu.1 ld86.1
+
+post-patch:
+# Respect CFLAGS in Makefiles.
+ @${GREP} -Rl 'CFLAGS=' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -i "" \
+ -Ee "s|CFLAGS='|&${CFLAGS} |; s|^(CFLAGS=)([^'])|\1${CFLAGS} \2|"
+
+.include <bsd.port.mk>
diff --git a/devel/dev86/distinfo b/devel/dev86/distinfo
new file mode 100644
index 000000000000..a5e9a5bbe11d
--- /dev/null
+++ b/devel/dev86/distinfo
@@ -0,0 +1,3 @@
+MD5 (Dev86src-0.16.17.tar.gz) = e7bbfdbe61c2fb964994a087e29b0087
+SHA256 (Dev86src-0.16.17.tar.gz) = 52ed4980c0e4b68d2624aadb0ceb0339cb3fd8dd7c2175419d4f77a451846cbe
+SIZE (Dev86src-0.16.17.tar.gz) = 703028
diff --git a/devel/dev86/files/patch-Makefile b/devel/dev86/files/patch-Makefile
new file mode 100644
index 000000000000..f6ca80c513df
--- /dev/null
+++ b/devel/dev86/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig 2007-10-25 12:17:41.000000000 +0200
++++ Makefile 2007-10-25 12:17:48.000000000 +0200
+@@ -12,7 +12,7 @@
+ config tests dis88 doselks bootblocks ld86r
+
+ ELKSSRC= /usr/src/elks
+-PREFIX= /usr
++PREFIX?= /usr
+ BINDIR= $(PREFIX)/bin
+ LIBDIR= $(PREFIX)/lib/bcc
+ INCLDIR= $(PREFIX)/lib/bcc
diff --git a/devel/dev86/pkg-descr b/devel/dev86/pkg-descr
new file mode 100644
index 000000000000..1238bd19d25c
--- /dev/null
+++ b/devel/dev86/pkg-descr
@@ -0,0 +1,4 @@
+This is port of Robert de Bath's 8086 Linux development environment. It is an
+extension to Bruce Evan's C compiler (devel/bcc port).
+
+WWW: http://homepage.ntlworld.com/robert.debath/
diff --git a/devel/dev86/pkg-plist b/devel/dev86/pkg-plist
new file mode 100644
index 000000000000..3cfa47165e0e
--- /dev/null
+++ b/devel/dev86/pkg-plist
@@ -0,0 +1,24 @@
+bin/ar86
+bin/as86
+bin/bcc
+bin/ld86
+bin/nm86
+bin/objdump86
+bin/size86
+lib/bcc/as86_encap
+lib/bcc/bcc-cc1
+lib/bcc/bcc-cpp
+lib/bcc/copt
+lib/bcc/i386/rules.386
+lib/bcc/i386/rules.end
+lib/bcc/i386/rules.start
+lib/bcc/rules.186
+lib/bcc/rules.386
+lib/bcc/rules.86
+lib/bcc/rules.end
+lib/bcc/rules.i
+lib/bcc/rules.net
+lib/bcc/rules.start
+lib/bcc/unproto
+@dirrm lib/bcc/i386
+@dirrm lib/bcc