Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Aug 2009 09:12:02 GMT
From:      "Rick E." <codeblock@eighthbit.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/137829: [New Port] www/gist
Message-ID:  <200908160912.n7G9C2JY089990@www.freebsd.org>
Resent-Message-ID: <200908160920.n7G9K6Bk037294@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         137829
>Category:       ports
>Synopsis:       [New Port] www/gist
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 16 09:20:06 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Rick E.
>Release:        7.2-RELEASE
>Organization:
N/A
>Environment:
FreeBSD R-1.local. 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 UTC 2009     root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
This is a port for the `gist` command-line tool, to allow users to use the gist pastebin from the shell. It might need some changes, as I'm still new to port creation, but it does work for me.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# 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:
#
#	/usr/ports/www/gist/
#	/usr/ports/www/gist/pkg-descr
#	/usr/ports/www/gist/Makefile
#	/usr/ports/www/gist/distinfo
#
echo c - /usr/ports/www/gist/
mkdir -p /usr/ports/www/gist/ > /dev/null 2>&1
echo x - /usr/ports/www/gist/pkg-descr
sed 's/^X//' >/usr/ports/www/gist/pkg-descr << '36c2d68c8103013698f7ff36c32b0ef3'
XThis port is for the Gist commandline tool, which allows for posting to the
XGist pastebin.
X
XWWW:	http://github.com/defunkt/gist/
36c2d68c8103013698f7ff36c32b0ef3
echo x - /usr/ports/www/gist/Makefile
sed 's/^X//' >/usr/ports/www/gist/Makefile << 'ee0fe78a4ba92fefbe5217de6a9f877f'
X# New ports collection makefile for:	gist
X# Date created:		2009-08-16
X# Whom:			Ricky E. <codeblock@eighthbit.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gist
XPORTVERSION=	1.0
XCATEGORIES=	www net
XMASTER_SITES=	http://github.com/defunkt/gist/raw/master/
XDISTNAME=	gist
XDISTFILES=	gist.rb
XEXTRACT_ONLY=	
X
XMAINTAINER=	codeblock@eighthbit.net
XCOMMENT=	A gist pastebin posting command
X
XUSE_RUBY=	YES
XNO_BUILD=	YES
XPLIST_FILES=	bin/gist
X
Xdo-install:
X	${INSTALL_SCRIPT} ${PORTSDIR}/distfiles/gist.rb ${LOCALBASE}/bin/gist
X
X.include <bsd.port.mk>
ee0fe78a4ba92fefbe5217de6a9f877f
echo x - /usr/ports/www/gist/distinfo
sed 's/^X//' >/usr/ports/www/gist/distinfo << '8595f37d1d144437cb59ddc0078895d0'
XMD5 (gist.rb) = f85f15c113c68a27e25373284490367e
XSHA256 (gist.rb) = 1339d1bb92d80dd28b0d6de8567f7a06e56c4eccadaf32790d01ed31869852aa
XSIZE (gist.rb) = 1705
8595f37d1d144437cb59ddc0078895d0
exit



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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908160912.n7G9C2JY089990>