Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2013 05:09:25 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r311287 - in head/devel/libatomic_ops: . files
Message-ID:  <201301310509.r0V59QpB034700@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Thu Jan 31 05:09:25 2013
New Revision: 311287
URL: http://svnweb.freebsd.org/changeset/ports/311287

Log:
  - Update to version 7.3alpha2
  - Define LICENSE, utilize DISTVERSION, etc.
  - Conditionally install documentation
  - Reindent port description while here
  
  PR:		ports/175662
  Submitted by:	maintainer

Deleted:
  head/devel/libatomic_ops/files/
Modified:
  head/devel/libatomic_ops/Makefile
  head/devel/libatomic_ops/distinfo
  head/devel/libatomic_ops/pkg-descr
  head/devel/libatomic_ops/pkg-plist

Modified: head/devel/libatomic_ops/Makefile
==============================================================================
--- head/devel/libatomic_ops/Makefile	Thu Jan 31 03:51:58 2013	(r311286)
+++ head/devel/libatomic_ops/Makefile	Thu Jan 31 05:09:25 2013	(r311287)
@@ -1,20 +1,37 @@
-# Created by: stas
+# Created by: Stanislav Sedov <stas@FreeBSD.org>
 # $FreeBSD$
 
 PORTNAME=	libatomic_ops
-PORTVERSION=	7.2.a6
-PORTREVISION=	0
+DISTVERSION=	7.3alpha2
 CATEGORIES=	devel
 MASTER_SITES=	http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/
-DISTNAME=	gc-${PORTVERSION:S/.a/alpha/}
 
 MAINTAINER=	rodrigo@bebik.net
 COMMENT=	Atomic operations access library
 
-USE_AUTOTOOLS=	aclocal autoconf automake
+LICENSE=	BSD GPLv2
+LICENSE_COMB=	multi
+
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
+USE_GNOME=	gnomehack
+
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.options.mk>
 
-WRKSRC=		${WRKDIR}/${DISTNAME}/libatomic_ops
+post-patch:
+# Inhibit installation of extra copy of GPL
+	${REINPLACE_CMD} -E 's,: (un)?install-dist_pkgdataDATA,:,' \
+		${WRKSRC}/Makefile.in
+.if ${PORT_OPTIONS:MDOCS}
+# Fix documentation installation directory
+	${REINPLACE_CMD} -E 's,pkgdata,pkgdoc,g ; s,\(datadir.*,(docdir),' \
+		${WRKSRC}/doc/Makefile.in
+.else
+# If documentation is not wanted, just disable it instead of fixing
+	${REINPLACE_CMD} -E 's,: (un)?install-dist_pkgdataDATA,:,' \
+		${WRKSRC}/doc/Makefile.in
+.endif
 
 .include <bsd.port.mk>

Modified: head/devel/libatomic_ops/distinfo
==============================================================================
--- head/devel/libatomic_ops/distinfo	Thu Jan 31 03:51:58 2013	(r311286)
+++ head/devel/libatomic_ops/distinfo	Thu Jan 31 05:09:25 2013	(r311287)
@@ -1,2 +1,2 @@
-SHA256 (gc-7.2alpha6.tar.gz) = ebf425b254773d565e1690287641ed177716a78e952c96fec917edbc64535c16
-SIZE (gc-7.2alpha6.tar.gz) = 1241386
+SHA256 (libatomic_ops-7.3alpha2.tar.gz) = e1e95d814f98ef7b011285b670eb3a0d44e3c48847f905eb8ac68369c5648bae
+SIZE (libatomic_ops-7.3alpha2.tar.gz) = 388924

Modified: head/devel/libatomic_ops/pkg-descr
==============================================================================
--- head/devel/libatomic_ops/pkg-descr	Thu Jan 31 03:51:58 2013	(r311286)
+++ head/devel/libatomic_ops/pkg-descr	Thu Jan 31 05:09:25 2013	(r311287)
@@ -1,15 +1,14 @@
-This package provides semi-portable access to hardware provided
-atomic memory operations.  These might allow you to write code:
+This package provides semi-portable access to hardware provided atomic memory
+operations.  These might allow you to write code:
 
-- That does more interesting things in signal handlers.
-- Makes more effective use of multiprocessors by allowing you to write
-  clever lock-free code.  Note that such code is very difficult to get
-  right, and will unavoidably be less portable than lock-based code.  It
-  is also not always faster than lock-based code.  But it may occasionally
-  be a large performance win.
-- To experiment with new and much better thread programming paradigms, etc.
+  - That does more interesting things in signal handlers
+  - Makes more effective use of multiprocessors by allowing you to write
+    clever lock-free code.  Note that such code is very difficult to get
+    right, and will unavoidably be less portable than lock-based code.  It
+    is also not always faster than lock-based code.  But it may occasionally
+    be a large performance win
+  - To experiment with new and much better thread programming paradigms, etc.
 
-For details and licensing restrictions see the files in the doc
-subdirectory.
+For details and licensing restrictions see the files in the doc subdirectory.
 
 WWW: http://www.hpl.hp.com/personal/Hans_Boehm/gc/

Modified: head/devel/libatomic_ops/pkg-plist
==============================================================================
--- head/devel/libatomic_ops/pkg-plist	Thu Jan 31 03:51:58 2013	(r311286)
+++ head/devel/libatomic_ops/pkg-plist	Thu Jan 31 05:09:25 2013	(r311287)
@@ -1,7 +1,7 @@
 include/atomic_ops.h
+include/atomic_ops/ao_version.h
 include/atomic_ops/generalize-small.h
 include/atomic_ops/generalize.h
-include/atomic_ops/sysdeps/README
 include/atomic_ops/sysdeps/acquire_release_volatile.h
 include/atomic_ops/sysdeps/aligned_atomic_load_store.h
 include/atomic_ops/sysdeps/all_acquire_release_volatile.h
@@ -17,6 +17,7 @@ include/atomic_ops/sysdeps/gcc/alpha.h
 include/atomic_ops/sysdeps/gcc/arm.h
 include/atomic_ops/sysdeps/gcc/avr32.h
 include/atomic_ops/sysdeps/gcc/cris.h
+include/atomic_ops/sysdeps/gcc/hexagon.h
 include/atomic_ops/sysdeps/gcc/hppa.h
 include/atomic_ops/sysdeps/gcc/ia64.h
 include/atomic_ops/sysdeps/gcc/m68k.h
@@ -54,14 +55,16 @@ include/atomic_ops/sysdeps/test_and_set_
 include/atomic_ops_malloc.h
 include/atomic_ops_stack.h
 lib/libatomic_ops.a
+lib/libatomic_ops.la
 lib/libatomic_ops_gpl.a
-%%DOCSDIR%%/COPYING
-%%DOCSDIR%%/LICENSING.txt
-%%DOCSDIR%%/README.txt
-%%DOCSDIR%%/README_malloc.txt
-%%DOCSDIR%%/README_stack.txt
-%%DOCSDIR%%/README_win32.txt
-@dirrm %%DOCSDIR%%
+lib/libatomic_ops_gpl.la
+libdata/pkgconfig/atomic_ops.pc
+%%PORTDOCS%%%%DOCSDIR%%/LICENSING.txt
+%%PORTDOCS%%%%DOCSDIR%%/README.txt
+%%PORTDOCS%%%%DOCSDIR%%/README_malloc.txt
+%%PORTDOCS%%%%DOCSDIR%%/README_stack.txt
+%%PORTDOCS%%%%DOCSDIR%%/README_win32.txt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrm include/atomic_ops/sysdeps/sunc
 @dirrm include/atomic_ops/sysdeps/msftc
 @dirrm include/atomic_ops/sysdeps/icc



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