svn commit: r333095 - in head: . devel devel/pure-stldict devel/pure-stllib devel/pure-stllib/files devel/pure-stlvec
Rusmir Dusko
nemysis at FreeBSD.org
Thu Nov 7 13:44:03 UTC 2013
Author: nemysis
Date: Thu Nov 7 13:44:01 2013
New Revision: 333095
URL: http://svnweb.freebsd.org/changeset/ports/333095
Log:
pure-stllib is an "umbrella" package that contains a pair of Pure addons,
pure-stlvec and pure-stlmap. These addons provide Pure interfaces to a
selection of containers provided by the C++ Standard Library, specialized
to hold pointers to arbitrary Pure expressions.
WWW: http://docs.pure-lang.googlecode.com/hg/pure-stllib.html
PR: ports/165865
Submitted by: Zhihao Yuan <lichray at gmail.com>
Approved by: wg (mentor)
Added:
head/devel/pure-stllib/
head/devel/pure-stllib/Makefile (contents, props changed)
head/devel/pure-stllib/distinfo (contents, props changed)
head/devel/pure-stllib/files/
head/devel/pure-stllib/files/patch-Makefile (contents, props changed)
head/devel/pure-stllib/pkg-descr (contents, props changed)
head/devel/pure-stllib/pkg-plist (contents, props changed)
Deleted:
head/devel/pure-stldict/
head/devel/pure-stlvec/
Modified:
head/MOVED
head/devel/Makefile
Modified: head/MOVED
==============================================================================
--- head/MOVED Thu Nov 7 13:41:52 2013 (r333094)
+++ head/MOVED Thu Nov 7 13:44:01 2013 (r333095)
@@ -5172,3 +5172,5 @@ net-p2p/libtorrent-rasterbar-python-16|n
devel/ORBit||2013-11-07|Has expired: EOLed upstream for very long
x11/gnome-libs||2013-11-07|Has expired: EOLed upstream for very long
textproc/stardict2||2013-11-07|Has expired: Newer version available in ports: textproc/stardict3
+devel/pure-stldict|devel/pure-stllib|2013-11-07|Removed: Use devel/pure-stllib instead
+devel/pure-stlvec|devel/pure-stllib|2013-11-07|Removed: Use devel/pure-stllib instead
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Thu Nov 7 13:41:52 2013 (r333094)
+++ head/devel/Makefile Thu Nov 7 13:44:01 2013 (r333095)
@@ -3389,8 +3389,7 @@
SUBDIR += pure-ffi
SUBDIR += pure-gen
SUBDIR += pure-readline
- SUBDIR += pure-stldict
- SUBDIR += pure-stlvec
+ SUBDIR += pure-stllib
SUBDIR += pushmi
SUBDIR += pwlib
SUBDIR += py-Acquisition
Added: head/devel/pure-stllib/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/pure-stllib/Makefile Thu Nov 7 13:44:01 2013 (r333095)
@@ -0,0 +1,48 @@
+# Created by: Zhihao Yuan <lichray at gmail.com>
+# $FreeBSD$
+
+PORTNAME= pure-stllib
+PORTVERSION= 0.5
+CATEGORIES= devel
+MASTER_SITES= https://cdn.bitbucket.org/purelang/pure-lang/downloads/
+DIST_SUBDIR= pure
+
+MAINTAINER= lichray at gmail.com
+COMMENT= Pure interface to C++ STL map and vectors
+
+LICENSE= BSD
+
+USES= pure pkgconfig
+
+USE_GCC= yes
+
+PORTDOCS= *
+
+DOCSRCDIR1= ${WRKSRC}
+DOC_FILES1= README
+
+DOCSRCDIR2= ${WRKSRC}/doc
+DOCSDIR2= ${DOCSDIR}/doc
+DOC_FILES2= *.pdf
+
+PORTEXAMPLES= *
+
+.include <bsd.port.options.mk>
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|CFLAGS =|CFLAGS ?=|' \
+ ${WRKSRC}/Makefile ${WRKSRC}/pure-stlmap/Makefile ${WRKSRC}/pure-stlvec/Makefile
+ @${MKDIR} ${WRKSRC}/examples/
+ @${MV} ${WRKSRC}/pure-stlmap/examples/* \
+ ${WRKSRC}/pure-stlvec/examples/* ${WRKSRC}/examples/
+
+post-install:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR2}
+ ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
+
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ @(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
+
+.include <bsd.port.mk>
Added: head/devel/pure-stllib/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/pure-stllib/distinfo Thu Nov 7 13:44:01 2013 (r333095)
@@ -0,0 +1,2 @@
+SHA256 (pure/pure-stllib-0.5.tar.gz) = 555d68f0d38905a4804116e5a6f37e14bec5bad3264c7b2beab3ab68b07beaef
+SIZE (pure/pure-stllib-0.5.tar.gz) = 335191
Added: head/devel/pure-stllib/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/pure-stllib/files/patch-Makefile Thu Nov 7 13:44:01 2013 (r333095)
@@ -0,0 +1,19 @@
+--- ./Makefile.orig 2013-08-28 18:17:41.000000000 +0200
++++ ./Makefile 2013-10-16 22:49:25.000000000 +0200
+@@ -17,12 +17,12 @@
+ MOD_CXXFLAGS = $(PIC) $(shell pkg-config pure --cflags) $(CFLAGS) $(CPPFLAGS)
+ MOD_LDFLAGS = $(shell pkg-config pure --libs) $(LDFLAGS)
+
+-CFLAGS = -g -O2 -Wall -Wextra
++CFLAGS ?= -g -O2 -Wall -Wextra
+
+-ifeq "$(DLL)" ".dylib"
++#ifeq "$(DLL)" ".dylib"
+ # OSX may need this (untested)
+-DLL_FLAGS = -install_name "$(libdir)/pure/$@"
+-endif
++#DLL_FLAGS = -install_name "$(libdir)/pure/$@"
++#endif
+
+ # Basic rules to build the module, clean, check, install and uninstall.
+
Added: head/devel/pure-stllib/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/pure-stllib/pkg-descr Thu Nov 7 13:44:01 2013 (r333095)
@@ -0,0 +1,6 @@
+pure-stllib is an "umbrella" package that contains a pair of Pure addons,
+pure-stlvec and pure-stlmap. These addons provide Pure interfaces to a
+selection of containers provided by the C++ Standard Library, specialized
+to hold pointers to arbitrary Pure expressions.
+
+WWW: http://docs.pure-lang.googlecode.com/hg/pure-stllib.html
Added: head/devel/pure-stllib/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/pure-stllib/pkg-plist Thu Nov 7 13:44:01 2013 (r333095)
@@ -0,0 +1,20 @@
+lib/pure/stlalgorithm.so
+lib/pure/stlbase.pure
+lib/pure/stlbase.so
+lib/pure/stlhmap.pure
+lib/pure/stlhmap.so
+lib/pure/stlmap.pure
+lib/pure/stlmap.so
+lib/pure/stlmmap.pure
+lib/pure/stlmmap.so
+lib/pure/stlvec.pure
+lib/pure/stlvec.so
+lib/pure/stlvec/algorithms.pure
+lib/pure/stlvec/heap.pure
+lib/pure/stlvec/merge.pure
+lib/pure/stlvec/minmax.pure
+lib/pure/stlvec/modifying.pure
+lib/pure/stlvec/nonmodifying.pure
+lib/pure/stlvec/numeric.pure
+lib/pure/stlvec/sort.pure
+ at dirrm lib/pure/stlvec
More information about the svn-ports-head
mailing list