Skip to content

Instantly share code, notes, and snippets.

@lichray
Created December 6, 2011 06:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lichray/1437031 to your computer and use it in GitHub Desktop.
Save lichray/1437031 to your computer and use it in GitHub Desktop.
New ports after pure-0.51
# 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-mpfr
# pure-mpfr/pkg-descr
# pure-mpfr/distinfo
# pure-mpfr/Makefile
#
echo c - pure-mpfr
mkdir -p pure-mpfr > /dev/null 2>&1
echo x - pure-mpfr/pkg-descr
sed 's/^X//' >pure-mpfr/pkg-descr << '03f6bdd680073e5aec54a49d57029c21'
Xpure-mpfr makes the MPFR multiprecision floats (henceforth referred to as
Xmpfr numbers or values) available in Pure, so that they work with the other
Xtypes of Pure numbers in an almost seamless fashion.
X
XWWW: http://docs.pure-lang.googlecode.com/hg/pure-mpfr.html
03f6bdd680073e5aec54a49d57029c21
echo x - pure-mpfr/distinfo
sed 's/^X//' >pure-mpfr/distinfo << '9e87772cf0b3d00be58316a822a9f90c'
XSHA256 (pure/pure-mpfr-0.4.tar.gz) = 23797d9996d4395aa08eadcb6ce3313267a24e9bc3bf7faa6012dcce339b65d6
XSIZE (pure/pure-mpfr-0.4.tar.gz) = 24401
9e87772cf0b3d00be58316a822a9f90c
echo x - pure-mpfr/Makefile
sed 's/^X//' >pure-mpfr/Makefile << 'a92d18a842ad42c318fb067971c2b7e4'
X# New ports collection makefile for: pure-mpfr
X# Date created: 2011-10-19
X# Whom: Zhihao Yuan <lichray@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= pure-mpfr
XPORTVERSION= 0.4
XCATEGORIES= math
X
XMAINTAINER= lichray@gmail.com
XCOMMENT= Multiprecision floats for Pure
X
XUSE_PURE= yes
X
XPLIST_FILES= lib/pure/mpfr.pure \
X lib/pure/mpfr.so
X
XMAKE_ARGS+= libdir="${PREFIX}/lib"
X
X.include <bsd.port.pre.mk>
X.include "${PORTSDIR}/lang/pure/bsd.pure.mk"
X.include <bsd.port.post.mk>
a92d18a842ad42c318fb067971c2b7e4
# 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-readline
# pure-readline/pkg-descr
# pure-readline/Makefile
# pure-readline/distinfo
#
echo c - pure-readline
mkdir -p pure-readline > /dev/null 2>&1
echo x - pure-readline/pkg-descr
sed 's/^X//' >pure-readline/pkg-descr << 'b1b2acfe81b96545551c5889f9355a38'
XPure's interface to C++ vectors, specialized to hold pointers to arbitrary
XPure expressions, and the C++ Standard Template Library algorithms that act
Xon them.
X
XWWW: http://docs.pure-lang.googlecode.com/hg/pure-readline.html
b1b2acfe81b96545551c5889f9355a38
echo x - pure-readline/Makefile
sed 's/^X//' >pure-readline/Makefile << 'bc292f9589647aab18c086d40e030b1a'
X# New ports collection makefile for: pure-readline
X# Date created: 2011-10-21
X# Whom: Zhihao Yuan <lichray@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= pure-readline
XPORTVERSION= 0.1
XCATEGORIES= devel
X
XMAINTAINER= lichray@gmail.com
XCOMMENT= A readline interface for the Pure language
X
XUSE_PURE= yes
XNO_PURE_EXAMPLES= yes
X
XPLIST_FILES= lib/pure/readline.pure \
X lib/pure/readline.so
X
X.include <bsd.port.pre.mk>
X.include "${PORTSDIR}/lang/pure/bsd.pure.mk"
X.include <bsd.port.post.mk>
bc292f9589647aab18c086d40e030b1a
echo x - pure-readline/distinfo
sed 's/^X//' >pure-readline/distinfo << '46cac59c27ecd67b513df6e3c2afe252'
XSHA256 (pure/pure-readline-0.1.tar.gz) = a8721d58d2d34c803967923a2ebd1b8f612abfe8d4ad75d6796bee5bbc3c45a2
XSIZE (pure/pure-readline-0.1.tar.gz) = 16358
46cac59c27ecd67b513df6e3c2afe252
# 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/distinfo
# pure-stldict/Makefile
# pure-stldict/pkg-plist
# pure-stldict/pkg-descr
# pure-stldict/files
# pure-stldict/files/patch-Makefile
#
echo c - pure-stldict
mkdir -p pure-stldict > /dev/null 2>&1
echo x - pure-stldict/distinfo
sed 's/^X//' >pure-stldict/distinfo << 'dd3eeee921929cd340ffc92553a7f894'
XSHA256 (pure/pure-stldict-0.3.tar.gz) = 86e3c1402e86c7c637d3191b94800121fda2724b0a5641a9f39becde0462567e
XSIZE (pure/pure-stldict-0.3.tar.gz) = 64546
dd3eeee921929cd340ffc92553a7f894
echo x - pure-stldict/Makefile
sed 's/^X//' >pure-stldict/Makefile << 'd934e1a4e8b77724dfba65f241911737'
X# New ports collection makefile for: pure-stldict
X# Date created: 2011-12-05
X# Whom: Zhihao Yuan <lichray@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= pure-stldict
XPORTVERSION= 0.3
XCATEGORIES= devel
X
XMAINTAINER= lichray@gmail.com
XCOMMENT= Pure interface to C++ STL map/unordered_map
X
XUSE_PURE= yes
X
X.include <bsd.port.pre.mk>
X
XUSE_GCC= ${GCC_DEFAULT_VERSION}+
XCXX= g++${GCC_DEFAULT_V}
XCXXFLAGS+= -std=c++0x -DHAVE_STD_IS_PERMUTATION
X
X.include "${PORTSDIR}/lang/pure/bsd.pure.mk"
X.include <bsd.port.post.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@dirrm lib/pure
b9a656883800a61565cec68b0f3cb0e8
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
# 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-stlvec
# pure-stlvec/pkg-plist
# pure-stlvec/distinfo
# pure-stlvec/pkg-descr
# pure-stlvec/Makefile
#
echo c - pure-stlvec
mkdir -p pure-stlvec > /dev/null 2>&1
echo x - pure-stlvec/pkg-plist
sed 's/^X//' >pure-stlvec/pkg-plist << '2811fa0466ae1728228089dd78554f1c'
Xlib/pure/stlalgorithm.so
Xlib/pure/stlbase.pure
Xlib/pure/stlcontainer.so
Xlib/pure/stlvec.pure
Xlib/pure/stlvec/algorithms.pure
Xlib/pure/stlvec/heap.pure
Xlib/pure/stlvec/merge.pure
Xlib/pure/stlvec/minmax.pure
Xlib/pure/stlvec/modifying.pure
Xlib/pure/stlvec/nonmodifying.pure
Xlib/pure/stlvec/numeric.pure
Xlib/pure/stlvec/sort.pure
X@dirrm lib/pure/stlvec
2811fa0466ae1728228089dd78554f1c
echo x - pure-stlvec/distinfo
sed 's/^X//' >pure-stlvec/distinfo << '53aadd8e2057dfa5b9f829568746bd66'
XSHA256 (pure/pure-stlvec-0.2.tar.gz) = 503bbc04f014c073d27d0bf2de3b57a889b5ceb9e01c4afbd82e8e5b5a2e4178
XSIZE (pure/pure-stlvec-0.2.tar.gz) = 149369
53aadd8e2057dfa5b9f829568746bd66
echo x - pure-stlvec/pkg-descr
sed 's/^X//' >pure-stlvec/pkg-descr << 'ca53b030cfa228a53a1621e4369b56bc'
XPure's interface to C++ vectors, specialized to hold pointers to arbitrary
XPure expressions, and the C++ Standard Template Library algorithms that act
Xon them.
X
XWWW: http://docs.pure-lang.googlecode.com/hg/pure-stlvec.html
ca53b030cfa228a53a1621e4369b56bc
echo x - pure-stlvec/Makefile
sed 's/^X//' >pure-stlvec/Makefile << '8740967490d7efc22802cc2113f67ee3'
X# New ports collection makefile for: pure-stlvec
X# Date created: 2011-10-19
X# Whom: Zhihao Yuan <lichray@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= pure-stlvec
XPORTVERSION= 0.2
XCATEGORIES= devel
X
XMAINTAINER= lichray@gmail.com
XCOMMENT= Pure interface to C++ STL vector
X
XUSE_PURE= yes
X
X.include <bsd.port.pre.mk>
X
Xpost-patch:
X @${REINPLACE_CMD} -e \
X 's|^PROD_FLAGS =.*|PROD_FLAGS = $$(CPPFLAGS) $$(CFLAGS) $$(LDFLAGS)|' \
X ${WRKSRC}/Makefile
X
X.include "${PORTSDIR}/lang/pure/bsd.pure.mk"
X.include <bsd.port.post.mk>
8740967490d7efc22802cc2113f67ee3
# 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-tk
# pure-tk/Makefile
# pure-tk/distinfo
# pure-tk/pkg-descr
#
echo c - pure-tk
mkdir -p pure-tk > /dev/null 2>&1
echo x - pure-tk/Makefile
sed 's/^X//' >pure-tk/Makefile << 'e08a88d2aafbdee66709ed17b612d8aa'
X# New ports collection makefile for: pure-tk
X# Date created: 2011-11-09
X# Whom: Zhihao Yuan <lichray@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= pure-tk
XPORTVERSION= 0.3
XCATEGORIES= x11-toolkits
X
XMAINTAINER= lichray@gmail.com
XCOMMENT= A basic interface between Pure and Tcl/Tk
X
XUSE_PURE= yes
XUSE_TK= 82+
XSHORT_TCL_VER= ${TCL_VER:S/8./8/}
X
XMAKE_ARGS+= tclvers=${TCL_VER}
X
XPLIST_FILES= lib/pure/gnocl.pure \
X lib/pure/tk.so \
X lib/pure/tk.pure
X
Xpost-patch:
X ${REINPLACE_CMD} \
X -e "s|/usr/include|${LOCALBASE}/include|g" \
X -e "s|-ltcl\$$(tclvers)|-ltcl${SHORT_TCL_VER}|" \
X -e "s|-ltk\$$(tclvers)|-ltk${SHORT_TCL_VER}|" \
X ${WRKSRC}/Makefile
X
X.include <bsd.port.pre.mk>
X.include "${PORTSDIR}/lang/pure/bsd.pure.mk"
X.include <bsd.port.post.mk>
e08a88d2aafbdee66709ed17b612d8aa
echo x - pure-tk/distinfo
sed 's/^X//' >pure-tk/distinfo << 'e7f1458d1ea339ddf19e9d6228d8017f'
XSHA256 (pure/pure-tk-0.3.tar.gz) = a1807441b4784b590b1fcd287d7750b66dd68f9e91bcddf710ccb3a4e9506a32
XSIZE (pure/pure-tk-0.3.tar.gz) = 31547
e7f1458d1ea339ddf19e9d6228d8017f
echo x - pure-tk/pkg-descr
sed 's/^X//' >pure-tk/pkg-descr << '56809b04ed890eaa4766cf8a98a90e3e'
Xpure-tk provides a basic interface between Pure and Tcl/Tk. The
Xoperations of this module allow you to execute arbitrary commands
Xin the Tcl interpreter, set and retrieve variable values in the
Xinterpreter, and invoke Pure callbacks from Tcl/Tk.
X
XWWW: http://docs.pure-lang.googlecode.com/hg/pure-tk.html
56809b04ed890eaa4766cf8a98a90e3e
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment