summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/yasm/Makefile27
-rw-r--r--devel/yasm/distinfo1
-rw-r--r--devel/yasm/files/patch-ltmain.sh15
-rw-r--r--devel/yasm/pkg-descr8
-rw-r--r--devel/yasm/pkg-plist50
6 files changed, 102 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index ea0860f5dba9..f94e45c4cb6f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -918,6 +918,7 @@
SUBDIR += xwpe
SUBDIR += xxgdb
SUBDIR += yacl
+ SUBDIR += yasm
SUBDIR += z80-asm
SUBDIR += zthread
SUBDIR += zziplib
diff --git a/devel/yasm/Makefile b/devel/yasm/Makefile
new file mode 100644
index 000000000000..0ea6b0a3e304
--- /dev/null
+++ b/devel/yasm/Makefile
@@ -0,0 +1,27 @@
+# ex:ts=8
+# Ports collection makefile for: yasm
+# Date created: Apr 7, 2003
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= yasm
+PORTVERSION= 0.2.1
+CATEGORIES= devel lang
+MASTER_SITES= http://www.tortall.net/projects/yasm/releases/
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A complete rewrite of the NASM assembler
+
+BUILD_DEPENDS= re2c:${PORTSDIR}/devel/re2c
+LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext \
+ iconv.3:${PORTSDIR}/converters/libiconv
+
+USE_PERL5_BUILD= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+INSTALLS_SHLIB= yes
+
+.include <bsd.port.mk>
diff --git a/devel/yasm/distinfo b/devel/yasm/distinfo
new file mode 100644
index 000000000000..329866c066fe
--- /dev/null
+++ b/devel/yasm/distinfo
@@ -0,0 +1 @@
+MD5 (yasm-0.2.1.tar.gz) = 3d6f812b025615e8f2f10af3e53243a8
diff --git a/devel/yasm/files/patch-ltmain.sh b/devel/yasm/files/patch-ltmain.sh
new file mode 100644
index 000000000000..f2a4a45d2345
--- /dev/null
+++ b/devel/yasm/files/patch-ltmain.sh
@@ -0,0 +1,15 @@
+--- config/ltmain.sh.orig Mon Apr 7 13:08:30 2003
++++ config/ltmain.sh Mon Apr 7 13:08:44 2003
+@@ -5288,10 +5288,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if /usr/bin/false ; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/devel/yasm/pkg-descr b/devel/yasm/pkg-descr
new file mode 100644
index 000000000000..fd883e87fd11
--- /dev/null
+++ b/devel/yasm/pkg-descr
@@ -0,0 +1,8 @@
+YASM is a complete rewrite of the NASM assembler under the "new" BSD License
+(some portions are currently under the GNU General Public License (GPL) or
+the GNU Lesser General Public License (LGPL)). It is designed from the ground
+up to allow for multiple assembler syntaxes to be supported (eg, NASM, TASM,
+GAS, etc.) in addition to multiple output object formats. Another primary
+module of the overall design is an optimizer module.
+
+WWW: http://www.tortall.net/projects/yasm/
diff --git a/devel/yasm/pkg-plist b/devel/yasm/pkg-plist
new file mode 100644
index 000000000000..1a41adced1ea
--- /dev/null
+++ b/devel/yasm/pkg-plist
@@ -0,0 +1,50 @@
+bin/yasm
+include/libyasm.h
+include/libyasm/arch.h
+include/libyasm/bc-int.h
+include/libyasm/bitvect.h
+include/libyasm/bytecode.h
+include/libyasm/compat-queue.h
+include/libyasm/config.h
+include/libyasm/coretype.h
+include/libyasm/dbgfmt.h
+include/libyasm/errwarn.h
+include/libyasm/expr-int.h
+include/libyasm/expr.h
+include/libyasm/file.h
+include/libyasm/floatnum.h
+include/libyasm/hamt.h
+include/libyasm/intnum.h
+include/libyasm/linemgr.h
+include/libyasm/objfmt.h
+include/libyasm/optimizer.h
+include/libyasm/parser.h
+include/libyasm/preproc.h
+include/libyasm/section.h
+include/libyasm/symrec.h
+include/libyasm/util.h
+include/libyasm/valparam.h
+@dirrm include/libyasm
+lib/libyasm.a
+lib/libyasm.so
+lib/libyasm.so.0
+lib/yasm_basic.a
+lib/yasm_basic.so
+lib/yasm_bin.a
+lib/yasm_bin.so
+lib/yasm_coff.a
+lib/yasm_coff.so
+lib/yasm_dbg.a
+lib/yasm_dbg.so
+lib/yasm_nasm.a
+lib/yasm_nasm.so
+lib/yasm_null.a
+lib/yasm_null.so
+lib/yasm_raw.a
+lib/yasm_raw.so
+lib/yasm_win32.a
+lib/yasm_win32.so
+lib/yasm_x86.a
+lib/yasm_x86.so
+lib/yasm_yapp.a
+lib/yasm_yapp.so