diff options
author | Julien Laffaye <jlaffaye@FreeBSD.org> | 2011-06-27 13:27:57 +0000 |
---|---|---|
committer | Julien Laffaye <jlaffaye@FreeBSD.org> | 2011-06-27 13:27:57 +0000 |
commit | e75d4ea1dae1cadf089418ca127d8368cbba9ddf (patch) | |
tree | ec7aa6e424bc7e912c100e221cd070f3b6f3446d /misc/pastebinit | |
parent | Update to 20110620 (diff) |
Update to 1.2
PR: ports/158018
Submitted by: Eitan Adler <lists@eitanadler.com> (maintainer)
Approved by: tabthorpe (mentor)
Notes
Notes:
svn path=/head/; revision=276494
Diffstat (limited to 'misc/pastebinit')
-rw-r--r-- | misc/pastebinit/Makefile | 24 | ||||
-rw-r--r-- | misc/pastebinit/distinfo | 4 | ||||
-rw-r--r-- | misc/pastebinit/pkg-descr | 2 |
3 files changed, 22 insertions, 8 deletions
diff --git a/misc/pastebinit/Makefile b/misc/pastebinit/Makefile index f5f7f599a431..915ba74b6433 100644 --- a/misc/pastebinit/Makefile +++ b/misc/pastebinit/Makefile @@ -6,24 +6,38 @@ # 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) +PORTDATA= pastebin.d +.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} + ${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> diff --git a/misc/pastebinit/distinfo b/misc/pastebinit/distinfo index d9953efb589f..7e48decf35da 100644 --- a/misc/pastebinit/distinfo +++ b/misc/pastebinit/distinfo @@ -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 diff --git a/misc/pastebinit/pkg-descr b/misc/pastebinit/pkg-descr index c0668da1249b..c77ea7f16d84 100644 --- a/misc/pastebinit/pkg-descr +++ b/misc/pastebinit/pkg-descr @@ -1,3 +1,3 @@ A command line pastebin utility. -WWW: http://www.stgraber.org/download/projects/pastebin/ +WWW: https://launchpad.net/pastebinit |