Skip to content

Instantly share code, notes, and snippets.

@mclosson
Created March 10, 2015 14:27
Show Gist options
  • Save mclosson/c5afbb67cf3af208a1bc to your computer and use it in GitHub Desktop.
Save mclosson/c5afbb67cf3af208a1bc to your computer and use it in GitHub Desktop.
# 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:
#
# devel/libCello
# devel/libCello/distinfo
# devel/libCello/Makefile
# devel/libCello/pkg-descr
# devel/libCello/pkg-plist
#
echo c - devel/libCello
mkdir -p devel/libCello > /dev/null 2>&1
echo x - devel/libCello/distinfo
sed 's/^X//' >devel/libCello/distinfo << 'END-of-devel/libCello/distinfo'
XSHA256 (libCello-1.1.7.tar.gz) = 2273fe8257109c2dd19054beecd83ddcc780ec565a1ad02721e24efa74082908
XSIZE (libCello-1.1.7.tar.gz) = 52793
END-of-devel/libCello/distinfo
echo x - devel/libCello/Makefile
sed 's/^X//' >devel/libCello/Makefile << 'END-of-devel/libCello/Makefile'
X# $FreeBSD$
X
XPORTNAME= libCello
XPORTVERSION= 1.1.7
XCATEGORIES= devel
XMASTER_SITES= http://libcello.org/static/
X
XMAINTAINER= [email protected]
XCOMMENT= Higher level programming in C
X
XLICENSE= BSD2CLAUSE
X
XUSES= gmake
X
X.include <bsd.port.mk>
END-of-devel/libCello/Makefile
echo x - devel/libCello/pkg-descr
sed 's/^X//' >devel/libCello/pkg-descr << 'END-of-devel/libCello/pkg-descr'
XCello is a library that introduces higher level programming to C.
X
XInterfaces allow for structured design
XDuck Typing allows for generic functions
XExceptions control error handling
XConstructors/Destructors aid memory management
XSyntactic Sugar increases readability
XC Library means excellent performance and integration
X
XWWW: http://libcello.org
END-of-devel/libCello/pkg-descr
echo x - devel/libCello/pkg-plist
sed 's/^X//' >devel/libCello/pkg-plist << 'END-of-devel/libCello/pkg-plist'
Xinclude/Cello/FunctionAuto.h
Xinclude/Cello/Lambda.h
Xinclude/Cello/Dictionary.h
Xinclude/Cello/Map.h
Xinclude/Cello/Reference.h
Xinclude/Cello/LambdaCurry.h
Xinclude/Cello/Table.h
Xinclude/Cello/Format.h
Xinclude/Cello/String.h
Xinclude/Cello/Value.h
Xinclude/Cello/Array.h
Xinclude/Cello/Function.h
Xinclude/Cello/Pool.h
Xinclude/Cello/Tree.h
Xinclude/Cello/Type.h
Xinclude/Cello/List.h
Xinclude/Cello/None.h
Xinclude/Cello/Module.h
Xinclude/Cello/Exception.h
Xinclude/Cello/File.h
Xinclude/Cello/Prelude.h
Xinclude/Cello/Thread.h
Xinclude/Cello/Char.h
Xinclude/Cello/Bool.h
Xinclude/Cello/Number.h
Xinclude/Cello.h
Xlib/libCello.a
END-of-devel/libCello/pkg-plist
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment