svn commit: r338705 - in head/devel: . pure-stldict pure-stldict/files
Rusmir Dusko
nemysis at FreeBSD.org
Sun Jan 5 00:19:06 UTC 2014
Author: nemysis
Date: Sun Jan 5 00:19:04 2014
New Revision: 338705
URL: http://svnweb.freebsd.org/changeset/ports/338705
Log:
- Readdition of devel/pure-stldict which was removed on 333095
- Bump PORTREVISION
- Add licenses (GPLv3 LGPL3)
- USES pure instead of USE_PURE
- Add DOCS, EXAMPLES and Option
- Support STAGEDIR
- Change pkg-plist, use @dirrmtry instead of @dirrm
This package provides a light-weight, no frills interface to the C++
dictionary containers map and unordered_map. The stldict module makes
these data structures available in Pure land and equips them with a
(more or less) idiomatic Pure container interface.
WWW: http://docs.pure-lang.googlecode.com/hg/pure-stldict.html
PR: ports/183756
Submitted by: Zhihao Yuan <zy at miator.net>
Added:
head/devel/pure-stldict/
- copied from r333094, head/devel/pure-stldict/
Modified:
head/devel/Makefile
head/devel/pure-stldict/Makefile
head/devel/pure-stldict/files/patch-Makefile (contents, props changed)
head/devel/pure-stldict/pkg-descr (contents, props changed)
head/devel/pure-stldict/pkg-plist (contents, props changed)
Directory Properties:
head/devel/pure-stldict/distinfo (props changed)
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Sun Jan 5 00:15:00 2014 (r338704)
+++ head/devel/Makefile Sun Jan 5 00:19:04 2014 (r338705)
@@ -3413,6 +3413,7 @@
SUBDIR += pure-ffi
SUBDIR += pure-gen
SUBDIR += pure-readline
+ SUBDIR += pure-stldict
SUBDIR += pure-stllib
SUBDIR += pushmi
SUBDIR += pwlib
Modified: head/devel/pure-stldict/Makefile
==============================================================================
--- head/devel/pure-stldict/Makefile Thu Nov 7 13:41:52 2013 (r333094)
+++ head/devel/pure-stldict/Makefile Sun Jan 5 00:19:04 2014 (r338705)
@@ -3,17 +3,33 @@
PORTNAME= pure-stldict
PORTVERSION= 0.5
-PORTREVISION= 1
+PORTREVISION= 2
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/unordered_map
-USE_PURE= yes
+LICENSE= GPLv3 LGPL3
+LICENSE_COMB= dual
+
+USES= pure
USE_GCC= yes
CXXFLAGS+= -std=c++0x -DHAVE_STD_IS_PERMUTATION
-NO_STAGE= yes
-.include "${.CURDIR}/../../lang/pure/bsd.pure.mk"
+PORTDOCS= README
+
+PORTEXAMPLES= *
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
+post-install:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ @(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
+
.include <bsd.port.mk>
Modified: head/devel/pure-stldict/files/patch-Makefile
==============================================================================
--- head/devel/pure-stldict/files/patch-Makefile Thu Nov 7 13:41:52 2013 (r333094)
+++ head/devel/pure-stldict/files/patch-Makefile Sun Jan 5 00:19:04 2014 (r338705)
@@ -1,6 +1,6 @@
---- Makefile.orig 2011-11-15 20:34:11.000000000 -0600
-+++ Makefile 2011-12-05 23:59:07.886393453 -0600
-@@ -4,11 +4,11 @@ version = 0.1
+--- ./Makefile.orig 2012-03-22 19:47:34.000000000 +0100
++++ ./Makefile 2014-01-04 17:44:05.000000000 +0100
+@@ -4,11 +4,11 @@
# platform-specific setup
@@ -16,7 +16,7 @@
installdir = $(addprefix $(DESTDIR), $(libdir)/pure)
MOD_CXXFLAGS = $(PIC) $(shell pkg-config pure --cflags) $(CXXFLAGS) $(CPPFLAGS)
-@@ -25,7 +25,7 @@ objects = $(patsubst %.cc, %$(DLL), $(cp
+@@ -25,7 +25,7 @@
all: $(objects)
%$(DLL): %.cc
Modified: head/devel/pure-stldict/pkg-descr
==============================================================================
--- head/devel/pure-stldict/pkg-descr Thu Nov 7 13:41:52 2013 (r333094)
+++ head/devel/pure-stldict/pkg-descr Sun Jan 5 00:19:04 2014 (r338705)
@@ -3,4 +3,4 @@ dictionary containers map and unordered_
these data structures available in Pure land and equips them with a
(more or less) idiomatic Pure container interface.
-WWW: http://docs.pure-lang.googlecode.com/hg/pure-stldict.html
+WWW: http://docs.pure-lang.googlecode.com/hg/pure-stldict.html
Modified: head/devel/pure-stldict/pkg-plist
==============================================================================
--- head/devel/pure-stldict/pkg-plist Thu Nov 7 13:41:52 2013 (r333094)
+++ head/devel/pure-stldict/pkg-plist Sun Jan 5 00:19:04 2014 (r338705)
@@ -4,4 +4,4 @@ lib/pure/orddict.pure
lib/pure/orddict.so
lib/pure/stldict.pure
lib/pure/stldictbase.pure
- at dirrm lib/pure
+ at dirrmtry lib/pure
More information about the svn-ports-all
mailing list