Bug 183756 - [new port] Revive devel/pure-stldict
Summary: [new port] Revive devel/pure-stldict
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Rusmir Dusko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-07 16:10 UTC by zy
Modified: 2014-01-05 00:20 UTC (History)
0 users

See Also:


Attachments
stldict.shar (3.61 KB, text/plain)
2013-11-07 16:10 UTC, zy
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description zy 2013-11-07 16:10:00 UTC
	
	devel/pure-stldict was mistakenly moved; pure-stllib does
	not include pure-stldict.  I made a shar to bring it back.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-11-07 16:10:09 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-11-07 16:10:09 UTC
Maintainer of devel/pure-stldict,

Please note that PR ports/183756 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/183756

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2014-01-04 06:03:46 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nemysis

Over to committer of http://svnweb.freebsd.org/ports?view=revision&revision=333095 , 
which removed it.
Comment 4 Rusmir Dusko freebsd_committer freebsd_triage 2014-01-05 00:17:47 UTC
State Changed
From-To: feedback->closed

Committed, with minor changes. Thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2014-01-05 00:19:12 UTC
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@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@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
-@dirrm lib/pure
+@dirrmtry lib/pure
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"