ports/183756: Revive devel/pure-stldict

Zhihao Yuan zy at miator.net
Thu Nov 7 16:10:01 UTC 2013


>Number:         183756
>Category:       ports
>Synopsis:       Revive devel/pure-stldict
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 07 16:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Zhihao Yuan
>Release:        FreeBSD 8.4-PRERELEASE amd64
>Organization:
Rackspace Inc.
>Environment:
System: FreeBSD elitebook.hp 8.4-PRERELEASE FreeBSD 8.4-PRERELEASE #10 r249704: Sat May 18 17:45:06 EDT 2013 lichray at elitebook.hp:/usr/obj/usr/src/sys/HOUKAGO amd64


	
>Description:
	
	devel/pure-stldict was mistakenly moved; pure-stllib does
	not include pure-stldict.  I made a shar to bring it back.
>How-To-Repeat:
	
>Fix:

	

--- stldict.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	pure-stldict
#	pure-stldict/pkg-descr
#	pure-stldict/files
#	pure-stldict/files/patch-Makefile
#	pure-stldict/distinfo
#	pure-stldict/Makefile
#	pure-stldict/pkg-plist
#
echo c - pure-stldict
mkdir -p pure-stldict > /dev/null 2>&1
echo x - pure-stldict/pkg-descr
sed 's/^X//' >pure-stldict/pkg-descr << '712af0479b7281b2bc6bd73aee33a788'
XThis package provides a light-weight, no frills interface to the C++
Xdictionary containers map and unordered_map. The stldict module makes
Xthese data structures available in Pure land and equips them with a
X(more or less) idiomatic Pure container interface.
X
XWWW: http://docs.pure-lang.googlecode.com/hg/pure-stldict.html
712af0479b7281b2bc6bd73aee33a788
echo c - pure-stldict/files
mkdir -p pure-stldict/files > /dev/null 2>&1
echo x - pure-stldict/files/patch-Makefile
sed 's/^X//' >pure-stldict/files/patch-Makefile << 'e9049f297e1e33f80e7d00184bb026e7'
X--- Makefile.orig	2011-11-15 20:34:11.000000000 -0600
X+++ Makefile	2011-12-05 23:59:07.886393453 -0600
X@@ -4,11 +4,11 @@ version = 0.1
X 
X # platform-specific setup
X 
X-DLL         = $(shell pkg-config pure --variable DLL)
X-PIC         = $(shell pkg-config pure --variable PIC)
X-shared      = $(shell pkg-config pure --variable shared)
X+DLL         = .so
X+PIC         = -fPIC
X+shared      = -shared
X 
X-libdir      = $(shell pkg-config pure --variable libdir)
X+libdir      = $(prefix)/lib
X installdir  = $(addprefix $(DESTDIR), $(libdir)/pure)
X 
X MOD_CXXFLAGS  = $(PIC) $(shell pkg-config pure --cflags) $(CXXFLAGS) $(CPPFLAGS)
X@@ -25,7 +25,7 @@ objects = $(patsubst %.cc, %$(DLL), $(cp
X all: $(objects)
X 
X %$(DLL): %.cc
X-	g++ $(shared) -o $@ $(MOD_CXXFLAGS) $< $(MOD_LDFLAGS) $(LIBS)
X+	$(CXX) $(shared) $(CPPFLAGS) $(CXXFLAGS) $(PIC) $< -o $@ $(LDFLAGS) -lpure $(LIBS)
X 
X clean:
X 	rm -f *.o *$(DLL) examples/life *~
e9049f297e1e33f80e7d00184bb026e7
echo x - pure-stldict/distinfo
sed 's/^X//' >pure-stldict/distinfo << 'dd3eeee921929cd340ffc92553a7f894'
XSHA256 (pure/pure-stldict-0.5.tar.gz) = 3c12b4e15d79955e28d025d62525685e3bdbf4a07a3849cffad82eeb578e022b
XSIZE (pure/pure-stldict-0.5.tar.gz) = 64968
dd3eeee921929cd340ffc92553a7f894
echo x - pure-stldict/Makefile
sed 's/^X//' >pure-stldict/Makefile << 'd934e1a4e8b77724dfba65f241911737'
X# Created by: Zhihao Yuan <lichray at gmail.com>
X# $FreeBSD$
X
XPORTNAME=	pure-stldict
XPORTVERSION=	0.5
XPORTREVISION=	2
XCATEGORIES=	devel
XMASTER_SITES=	https://cdn.bitbucket.org/purelang/pure-lang/downloads/
XDIST_SUBDIR=	pure
X
XMAINTAINER=	lichray at gmail.com
XCOMMENT=	Pure interface to C++ STL map/unordered_map
X
XLICENSE=	GPLv3 LGPL3
XLICENSE_COMB=	dual
X
XUSES=		pure
X
XUSE_GCC=	yes
XCXXFLAGS+=	-std=c++0x -DHAVE_STD_IS_PERMUTATION
X
XNO_STAGE=	yes
X
XPORTDOCS=	README
X
XPORTEXAMPLES=	*
X
X.include <bsd.port.options.mk>
X
Xpost-install:
X.if ${PORT_OPTIONS:MDOCS}
X	@${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
X.endif
X
X.if ${PORT_OPTIONS:MEXAMPLES}
X	@${MKDIR} ${EXAMPLESDIR}
X	@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
X.endif
X
X.include <bsd.port.mk>
d934e1a4e8b77724dfba65f241911737
echo x - pure-stldict/pkg-plist
sed 's/^X//' >pure-stldict/pkg-plist << 'b9a656883800a61565cec68b0f3cb0e8'
Xlib/pure/hashdict.pure
Xlib/pure/hashdict.so
Xlib/pure/orddict.pure
Xlib/pure/orddict.so
Xlib/pure/stldict.pure
Xlib/pure/stldictbase.pure
X at dirrm lib/pure
b9a656883800a61565cec68b0f3cb0e8
exit
--- stldict.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list