Date: Sun, 19 Jun 2011 04:50:02 GMT From: Eitan Adler <lists@eitanadler.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/158018: [patch] maintainer update: misc/pastebinit Message-ID: <201106190450.p5J4o2jK021507@red.freebsd.org> Resent-Message-ID: <201106190500.p5J50LN4038047@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 158018 >Category: ports >Synopsis: [patch] maintainer update: misc/pastebinit >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Jun 19 05:00:21 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Eitan Adler >Release: >Organization: >Environment: >Description: >How-To-Repeat: >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/misc/pastebinit/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- Makefile 11 Jul 2010 18:41:14 -0000 1.5 +++ Makefile 19 Jun 2011 04:47:43 -0000 @@ -6,24 +6,41 @@ # PORTNAME= pastebinit -PORTVERSION= 0.11 +PORTVERSION= 1.2 CATEGORIES= misc python -MASTER_SITES= http://www.stgraber.org/download/projects/pastebin/ +MASTER_SITES= http://launchpadlibrarian.net/63157878/ MAINTAINER= ports@eitanadler.com COMMENT= A command line utility for pastebing -USE_PYTHON= yes +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}configobj>=4.3.2:${PORTSDIR}/devel/py-configobj +USE_PYTHON= yes NO_BUILD= yes PLIST_FILES= bin/pastebinit +OPTIONS= PASTEBINS "Install default pastebins" on + +.include <bsd.port.pre.mk> + +.if defined(WITH_PASTEBINS) +PLIST_SUB+= PASTEBINS="" +PORTDATA= pastebin.d +.else +PLIST_SUB+= PASTEBINS="@comment " +.endif + post-patch: @${REINPLACE_CMD} -e 's#/usr/bin/python#${PYTHON_CMD}#' \ ${WRKSRC}/${PORTNAME} + @${REINPLACE_CMD} -e 's#/etc/#${DATADIR}/#g' \ + ${WRKSRC}/${PORTNAME} do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME} +.if defined(WITH_PASTEBINS) + (cd ${WRKSRC} && ${COPYTREE_SHARE} pastebin.d ${DATADIR}) +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> Index: distinfo =================================================================== RCS file: /home/ncvs/ports/misc/pastebinit/distinfo,v retrieving revision 1.4 diff -u -r1.4 distinfo --- distinfo 19 Mar 2011 12:31:29 -0000 1.4 +++ distinfo 19 Jun 2011 04:47:43 -0000 @@ -1,2 +1,2 @@ -SHA256 (pastebinit-0.11.tar.gz) = f3ac54d3285ed44e89f14f3c32a04212e2d13005ba91ad86e7b7888477e3817b -SIZE (pastebinit-0.11.tar.gz) = 22705 +SHA256 (pastebinit-1.2.tar.gz) = e0011efd6aee5e93d34fd0bf5ae86116d652345bb349a4dff9d50f85dce0f736 +SIZE (pastebinit-1.2.tar.gz) = 32573 Index: pkg-descr =================================================================== RCS file: /home/ncvs/ports/misc/pastebinit/pkg-descr,v retrieving revision 1.1 diff -u -r1.1 pkg-descr --- pkg-descr 6 Mar 2008 12:58:20 -0000 1.1 +++ pkg-descr 19 Jun 2011 04:47:43 -0000 @@ -1,3 +1,3 @@ A command line pastebin utility. -WWW: http://www.stgraber.org/download/projects/pastebin/ +WWW: https://launchpad.net/pastebinit Index: pkg-plist >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106190450.p5J4o2jK021507>