From 40b28e6445dc62543a0532bc0cf727a3671d191a Mon Sep 17 00:00:00 2001 From: Wesley Shields Date: Thu, 6 Mar 2008 12:58:20 +0000 Subject: [PATCH] A python script which allows you to use pastebin websites from the command line. PR: ports/120955 Submitted by: comperr Approved by: garga (mentor) --- misc/Makefile | 1 + misc/pastebinit/Makefile | 29 +++++++++++++++++++++++++++++ misc/pastebinit/distinfo | 3 +++ misc/pastebinit/pkg-descr | 3 +++ 4 files changed, 36 insertions(+) create mode 100644 misc/pastebinit/Makefile create mode 100644 misc/pastebinit/distinfo create mode 100644 misc/pastebinit/pkg-descr diff --git a/misc/Makefile b/misc/Makefile index 7356f17edee1..efa6c8110486 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -380,6 +380,7 @@ SUBDIR += p5-Tie-DxHash SUBDIR += p5-Zen-Koans SUBDIR += pantry + SUBDIR += pastebinit SUBDIR += patanjali SUBDIR += patchutils SUBDIR += pauker diff --git a/misc/pastebinit/Makefile b/misc/pastebinit/Makefile new file mode 100644 index 000000000000..5c77a63c0c6b --- /dev/null +++ b/misc/pastebinit/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: pastebinit +# Date created: Thu Feb 21 00:21:23 EST 2008 +# Whom: comperr +# +# $FreeBSD$ +# + +PORTNAME= pastebinit +PORTVERSION= 0.9 +CATEGORIES= misc python +MASTER_SITES= http://www.stgraber.org/download/projects/pastebin/ + +MAINTAINER= comperr.extra@gmail.com +COMMENT= A command line utility for pastebing + +USE_PYTHON= yes + +NO_BUILD= yes + +PLIST_FILES= bin/pastebinit + +post-patch: + ${REINPLACE_CMD} -e 's#/usr/bin/python#${PYTHON_CMD}#' \ + ${WRKSRC}/${PORTNAME} + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME} + +.include diff --git a/misc/pastebinit/distinfo b/misc/pastebinit/distinfo new file mode 100644 index 000000000000..7e5cdb3f6744 --- /dev/null +++ b/misc/pastebinit/distinfo @@ -0,0 +1,3 @@ +MD5 (pastebinit-0.9.tar.gz) = 16c3e6ae00cf689465a4fde2d3b20757 +SHA256 (pastebinit-0.9.tar.gz) = e437880db7811727c9330b1947a27ab9df1ae01fe22e3ad8ed35db45b99250ec +SIZE (pastebinit-0.9.tar.gz) = 12645 diff --git a/misc/pastebinit/pkg-descr b/misc/pastebinit/pkg-descr new file mode 100644 index 000000000000..c0668da1249b --- /dev/null +++ b/misc/pastebinit/pkg-descr @@ -0,0 +1,3 @@ +A command line pastebin utility. + +WWW: http://www.stgraber.org/download/projects/pastebin/