On Tue, Sep 26, 2006 at 04:10:56PM +0100, Shaun Amott wrote:
> On Thu, Sep 14, 2006 at 04:18:21AM +0100, Shaun Amott wrote:
> > 
> > I have put together a port of yasm, which is a BSD-licensed re-write of
> > the nasm assembler. It has plenty of nice features, including, notably,
> > amd64 support.
> > 
> > I would very much like to see it added to the OpenBSD ports tree.
> > 
> > The port can be found here:
> > 
> > http://beta.inerd.com/files/dist/yasm.shar
> > 
> 
> I have attached this port as a tarball.
> 
> -- 
> Shaun Amott // PGP: 0x6B387A9A
> "A foolish consistency is the hobgoblin
> of little minds." - Ralph Waldo Emerson

Tested this one 4.0 GENERIC#1111 i386
- The port builds fine (plist, dependencies)
- I suggest some changes in Makefile and pkg/DESRC
 - ONLY_FOR_ARCHS
 - CATEGORY=lang; imho all compilers etc. should be in lang.
 - CONFIGURE_ENV not needed
 - stylistic changes
- remove PLIST in root directory of the port
- Hello world works.

Tobias
--- pkg/DESCR.orig      Wed Sep 27 02:57:14 2006
+++ pkg/DESCR   Wed Sep 27 02:57:22 2006
@@ -1,5 +1,6 @@
-YASM is a complete rewrite of the NASM Assembler under the "new" BSD
-License. YASM currently supports the x86 and amd64 instruction sets,
-accepts NASM and GAS assembler syntaxes, outputs binary, ELF32, ELF64,
-COFF, Win32 and Win64 object formats, and generates source debugging
-information in STABS, DWARF 2, and CodeView 8 formats.
+YASM is a complete rewrite of the NASM Assembler under the "new"
+BSD License. YASM currently supports the x86 and amd64 instruction
+sets, accepts NASM and GAS assembler syntaxes, outputs binary,
+ELF32, ELF64, COFF, Win32 and Win64 object formats, and generates
+source debugging information in STABS, DWARF 2, and CodeView 8
+formats.
--- Makefile.orig       Wed Sep 27 02:47:56 2006
+++ Makefile    Wed Sep 27 03:20:58 2006
@@ -1,29 +1,30 @@
 # $OpenBSD$
 
-COMMENT=       "complete rewrite of the NASM assembler"
+COMMENT=               "complete rewrite of the NASM assembler"
 
-DISTNAME=      yasm-0.5.0
-CATEGORIES=    devel lang
-HOMEPAGE=      http://www.tortall.net/projects/yasm/
+ONLY_FOR_ARCHS=                i386 amd64
 
-MAINTAINER=    Shaun Amott <[EMAIL PROTECTED]>
+DISTNAME=              yasm-0.5.0
+CATEGORIES=            lang
+HOMEPAGE=              http://www.tortall.net/projects/yasm/
 
+MAINTAINER=            Shaun Amott <[EMAIL PROTECTED]>
+
 # Yasm's license is BSD-style, with some
 # portions (currently) under the LGPL.
 PERMIT_PACKAGE_CDROM=  Yes
 PERMIT_PACKAGE_FTP=    Yes
 PERMIT_DISTFILES_CDROM=        Yes
 PERMIT_DISTFILES_FTP=  Yes
-CONFIGURE_STYLE=       gnu
+
 WANTLIB=               c
 
-MASTER_SITES=  http://www.tortall.net/projects/yasm/releases/
+MASTER_SITES=          http://www.tortall.net/projects/yasm/releases/
 
-CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
-               LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_STYLE=       gnu
 
-INSTALL_TARGET=        install install-man
+INSTALL_TARGET=                install install-man
 
-NO_REGRESS=    Yes
+NO_REGRESS=            Yes
 
 .include <bsd.port.mk>

Reply via email to