1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

Update to 1.2

PR:		ports/158018
Submitted by:	Eitan Adler <lists@eitanadler.com> (maintainer)
Approved by:	tabthorpe (mentor)
This commit is contained in:
Julien Laffaye 2011-06-27 13:27:57 +00:00
parent 19318a66ac
commit e75d4ea1da
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=276494
3 changed files with 22 additions and 8 deletions

View File

@ -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>

View File

@ -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

View File

@ -1,3 +1,3 @@
A command line pastebin utility.
WWW: http://www.stgraber.org/download/projects/pastebin/
WWW: https://launchpad.net/pastebinit