summaryrefslogtreecommitdiff
path: root/devel/bin86
diff options
context:
space:
mode:
authorreed <reed>2008-03-08 00:39:23 +0000
committerreed <reed>2008-03-08 00:39:23 +0000
commit2f9506a46b5faec3440a9b64bf5622327de3714e (patch)
tree0a432916eba7a914509959c265e5b2910bcca007 /devel/bin86
parent88f3b18c42c5009224bfe4f2025cd7fd5052c45c (diff)
downloadpkgsrc-2f9506a46b5faec3440a9b64bf5622327de3714e.tar.gz
Import new package from pkgsrc-wip: bin86.
(This conflicts with bcc and dev86. I use this to build lilo.) This is a simple assember, linker, and related tools for 80x86 machine code. This is based on the as86 and ld86 distribution written by Bruce Evans and was maintained by Robert de Bath.
Diffstat (limited to 'devel/bin86')
-rw-r--r--devel/bin86/DESCR3
-rw-r--r--devel/bin86/Makefile26
-rw-r--r--devel/bin86/PLIST8
-rw-r--r--devel/bin86/distinfo6
-rw-r--r--devel/bin86/patches/patch-aa13
5 files changed, 56 insertions, 0 deletions
diff --git a/devel/bin86/DESCR b/devel/bin86/DESCR
new file mode 100644
index 00000000000..5a41d7a4dbb
--- /dev/null
+++ b/devel/bin86/DESCR
@@ -0,0 +1,3 @@
+This is a simple assember, linker, and related tools for 80x86
+machine code. This is based on the as86 and ld86 distribution
+written by Bruce Evans and was maintained by Robert de Bath.
diff --git a/devel/bin86/Makefile b/devel/bin86/Makefile
new file mode 100644
index 00000000000..29da48f60df
--- /dev/null
+++ b/devel/bin86/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/03/08 00:39:23 reed Exp $
+
+DISTNAME= bin86-0.16.17
+PKGREVISION= 1
+CATEGORIES= devel
+MASTER_SITES= http://homepage.ntlworld.com/robert.debath/dev86/ \
+ http://www.debath.co.uk/dev86/bin86-0.16.17.tar.gz
+
+MAINTAINER= reed@reedmedia.net
+HOMEPAGE= http://www.debath.co.uk/
+COMMENT= Simple assembler and linker for x86 machine code
+
+CONFLICTS= bcc-[0-9]*
+CONFLICTS+= dev86-[0-9]*
+
+USE_TOOLS+= gmake
+
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
+
+do-build:
+ cd ${WRKSRC} && ${GMAKE} PREFIX=${PREFIX:Q}
+
+do-install:
+ cd ${WRKSRC} && ${GMAKE} PREFIX=${PREFIX:Q} PKGMANDIR=${PKGMANDIR:Q} install
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/bin86/PLIST b/devel/bin86/PLIST
new file mode 100644
index 00000000000..695cf5236cd
--- /dev/null
+++ b/devel/bin86/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/03/08 00:39:23 reed Exp $
+bin/as86
+bin/ld86
+bin/nm86
+bin/objdump86
+bin/size86
+man/man1/as86.1
+man/man1/ld86.1
diff --git a/devel/bin86/distinfo b/devel/bin86/distinfo
new file mode 100644
index 00000000000..ade385e0bef
--- /dev/null
+++ b/devel/bin86/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/03/08 00:39:23 reed Exp $
+
+SHA1 (bin86-0.16.17.tar.gz) = 656f06b4b26d08412132e338baa25e42d713eeec
+RMD160 (bin86-0.16.17.tar.gz) = b0ae5aff632a3528214749e256f5ab498f1a7fa4
+Size (bin86-0.16.17.tar.gz) = 152400 bytes
+SHA1 (patch-aa) = f4a4fcc5cb51fb428a660d0fc70579f73e2de719
diff --git a/devel/bin86/patches/patch-aa b/devel/bin86/patches/patch-aa
new file mode 100644
index 00000000000..2f4bc71076a
--- /dev/null
+++ b/devel/bin86/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/03/08 00:39:23 reed Exp $
+
+--- Makefile.orig 2003-12-31 12:36:40.000000000 +0100
++++ Makefile
+@@ -6,7 +6,7 @@ DIRS=ld as
+ PREFIX=/usr/local
+ BINDIR=$(PREFIX)/bin
+ LIBDIR=$(PREFIX)/lib
+-MANDIR=$(PREFIX)/man/man1
++MANDIR=$(PREFIX)/$(PKGMANDIR)/man1
+ SUF=86
+
+ INSTALL_OPT=-m 755