From b8adb70e8eab9efc71054a1a0e95847a23293919 Mon Sep 17 00:00:00 2001 From: eadler Date: Mon, 3 Sep 2012 16:30:17 +0000 Subject: - Update to 1.3.1 - Add license - Change path to data directory PR: ports/171286 Submitted by: amdmi3 --- misc/pastebinit/Makefile | 10 ++++++++-- misc/pastebinit/distinfo | 4 ++-- 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'misc') diff --git a/misc/pastebinit/Makefile b/misc/pastebinit/Makefile index b997954f03a..c8a9d6e9b2c 100644 --- a/misc/pastebinit/Makefile +++ b/misc/pastebinit/Makefile @@ -6,20 +6,23 @@ # PORTNAME= pastebinit -PORTVERSION= 1.3 +PORTVERSION= 1.3.1 CATEGORIES= misc python -MASTER_SITES= https://launchpadlibrarian.net/93013084/ +MASTER_SITES= https://launchpadlibrarian.net/106457425/ MAINTAINER= eadler@FreeBSD.org COMMENT= A command line utility for pastebing RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}configobj>=4.3.2:${PORTSDIR}/devel/py-configobj +USE_BZIP2= yes USE_PYTHON= yes NO_BUILD= yes PLIST_FILES= bin/pastebinit +LICENCE= GPLv2 + OPTIONS_DEFINE= PASTEBINS PASTEBINS_DESC= Install default pastebins OPTIONS_DEFAULT= PASTEBINS @@ -30,6 +33,9 @@ OPTIONS_DEFAULT= PASTEBINS PORTDATA= pastebin.d .endif +post-patch: + ${REINPLACE_CMD} -e 's|/usr/share/pastebin.d|${DATADIR}/pastebin.d|' \ + ${WRKSRC}/pastebinit do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME} .if ${PORT_OPTIONS:MPASTEBINS} diff --git a/misc/pastebinit/distinfo b/misc/pastebinit/distinfo index 19d5f955def..e4963e28109 100644 --- a/misc/pastebinit/distinfo +++ b/misc/pastebinit/distinfo @@ -1,2 +1,2 @@ -SHA256 (pastebinit-1.3.tar.gz) = 41b51ebffb90443166a7c489f7c11224c00032e1eb64f67c8783826d75728a53 -SIZE (pastebinit-1.3.tar.gz) = 38173 +SHA256 (pastebinit-1.3.1.tar.bz2) = 0dcb6c4820f49cc7f97a7804254df1ae848cfc4fc63e08ca89a525b909709e29 +SIZE (pastebinit-1.3.1.tar.bz2) = 35582 -- cgit