Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2013 15:14:08 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335186 - in head/devel: . yasm-devel
Message-ID:  <201311291514.rATFE8nP087571@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Fri Nov 29 15:14:08 2013
New Revision: 335186
URL: http://svnweb.freebsd.org/changeset/ports/335186

Log:
  devel/yasm-devel: Copy devel/yasm and update to 1.2.0.29 [NEW PORT]
  
  - Update to 1.2.0.29 (g87c0)
  - Enable STAGE support
  - Update pkg-plist
  - Adjust MASTER_SITES and MASTER_SITE_SUBDIR to suit snapshots
  - Add -devel PKGNAMESUFFIX
  - Remove indefinite article from and update COMMENT for uniqueness
  - Update MAINTAINER
  - Add NLS and DEBUG options
  - Remove custom INSTALL_TARGET
  - Remove MAN* macros
  - Add regression-test: target
  - Update pkg-descr

Added:
  head/devel/yasm-devel/
     - copied from r334812, head/devel/yasm/
Modified:
  head/devel/Makefile
  head/devel/yasm-devel/Makefile
  head/devel/yasm-devel/distinfo   (contents, props changed)
  head/devel/yasm-devel/pkg-descr   (contents, props changed)
  head/devel/yasm-devel/pkg-plist   (contents, props changed)

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Fri Nov 29 15:13:30 2013	(r335185)
+++ head/devel/Makefile	Fri Nov 29 15:14:08 2013	(r335186)
@@ -4527,6 +4527,7 @@
     SUBDIR += yajl-tcl
     SUBDIR += yaml-cpp
     SUBDIR += yasm
+    SUBDIR += yasm-devel
     SUBDIR += z80-asm
     SUBDIR += z80asm
     SUBDIR += z80ex

Modified: head/devel/yasm-devel/Makefile
==============================================================================
--- head/devel/yasm/Makefile	Mon Nov 25 05:53:48 2013	(r334812)
+++ head/devel/yasm-devel/Makefile	Fri Nov 29 15:14:08 2013	(r335186)
@@ -1,37 +1,44 @@
 # Created by: ijliao
 # $FreeBSD$
 
-PORTNAME=	yasm
-PORTVERSION=	1.2.0
-CATEGORIES=	devel lang
-MASTER_SITES=	http://www.tortall.net/projects/yasm/releases/
+PORTNAME=		yasm
+PORTVERSION=		1.2.0.29
+DISTVERSIONSUFFIX=	.g87c0
+CATEGORIES=		devel lang
+MASTER_SITES=		http://www.tortall.net/projects/yasm/snapshots/%SUBDIR%/
+MASTER_SITE_SUBDIR=	v${DISTVERSION}${DISTVERSIONSUFFIX}
+PKGNAMESUFFIX=		-devel
 
-MAINTAINER=	johnson.peter@gmail.com
-COMMENT=	A complete rewrite of the NASM assembler
+MAINTAINER=	koobs@FreeBSD.org
+COMMENT=	Complete rewrite of the NASM assembler (Development Snapshot)
 
 LICENSE=	BSD
 
+OPTIONS_DEFINE=	DEBUG NLS
 
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS+=--disable-python --disable-python-bindings
-CPPFLAGS+=	${CXXFLAGS} -I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+GNU_CONFIGURE=		yes
+CONFIGURE_ARGS+=	--disable-python --disable-python-bindings
+
+NLS_USES=		gettext iconv
+NLS_CONFIGURE_ENABLE=	nls
+NLS_CONFIGURE_ON=	--with-libiconv-prefix=${LOCALBASE} \
+			--with-libintl-prefix=${LOCALBASE}
+NLS_CONFIGURE_OFF=	--without-libiconv-prefix \
+			--without-libintl-prefix
+
+CONFLICTS_INSTALL=	yasm-[0-9]*
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
-.if ${ARCH} == "ia64"
-CFLAGS:=	${CFLAGS:C/-O[0-9]//g}
+.if ${PORT_OPTIONS:MDEBUG} || defined(WITH_DEBUG)
+CONFIGURE_ARGS+=	--enable-debug
 .endif
 
-.if ${PORT_OPTIONS:MNLS}
-USES+=	gettext iconv
-.else
-CONFIGURE_ARGS+=--disable-nls --without-libiconv-prefix --without-libintl-prefix
+.if ${ARCH} == "ia64"
+CFLAGS:=	${CFLAGS:C/-O[0-9]//g}
 .endif
 
-INSTALL_TARGET=	install install-man
-MAN1=		yasm.1
-MAN7=		yasm_arch.7 yasm_dbgfmts.7 yasm_objfmts.7 yasm_parsers.7
+regression-test: build
+	@cd ${WRKSRC} && ${MAKE} check
 
 .include <bsd.port.mk>

Modified: head/devel/yasm-devel/distinfo
==============================================================================
--- head/devel/yasm/distinfo	Mon Nov 25 05:53:48 2013	(r334812)
+++ head/devel/yasm-devel/distinfo	Fri Nov 29 15:14:08 2013	(r335186)
@@ -1,2 +1,2 @@
-SHA256 (yasm-1.2.0.tar.gz) = 768ffab457b90a20a6d895c39749adb547c1b7cb5c108e84b151a838a23ccf31
-SIZE (yasm-1.2.0.tar.gz) = 1436502
+SHA256 (yasm-1.2.0.29.g87c0.tar.gz) = 1d73e87cfc58ef89fd2bb63c680bdb32c6b99f07159744722f5e9dd00b9b876f
+SIZE (yasm-1.2.0.29.g87c0.tar.gz) = 1428812

Modified: head/devel/yasm-devel/pkg-descr
==============================================================================
--- head/devel/yasm/pkg-descr	Mon Nov 25 05:53:48 2013	(r334812)
+++ head/devel/yasm-devel/pkg-descr	Fri Nov 29 15:14:08 2013	(r335186)
@@ -1,6 +1,6 @@
-YASM is a complete rewrite of the NASM assembler under the "new" BSD License
-(some portions are currently under the GNU Lesser General Public License
-(LGPL)). Yasm currently supports the x86 and AMD64 instruction sets, accepts
+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, Mach-O
 (32 and 64), RDOFF2, Win32, and Win64 object formats, and generates source
 debugging information in STABS, DWARF 2, and CodeView 8 formats.

Modified: head/devel/yasm-devel/pkg-plist
==============================================================================
--- head/devel/yasm/pkg-plist	Mon Nov 25 05:53:48 2013	(r334812)
+++ head/devel/yasm-devel/pkg-plist	Fri Nov 29 15:14:08 2013	(r335186)
@@ -31,4 +31,9 @@ include/libyasm/symrec.h
 include/libyasm/valparam.h
 include/libyasm/value.h
 lib/libyasm.a
+man/man1/yasm.1.gz
+man/man7/yasm_arch.7.gz
+man/man7/yasm_dbgfmts.7.gz
+man/man7/yasm_objfmts.7.gz
+man/man7/yasm_parsers.7.gz
 @dirrm include/libyasm



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311291514.rATFE8nP087571>