Index: head/misc/pastebinit/Makefile =================================================================== --- head/misc/pastebinit/Makefile (revision 421914) +++ head/misc/pastebinit/Makefile (revision 421915) @@ -1,39 +1,43 @@ # $FreeBSD$ PORTNAME= pastebinit -PORTVERSION= 1.4.1 -PORTREVISION= 2 +PORTVERSION= 1.5 CATEGORIES= misc python MASTER_SITES= https://launchpad.net/pastebinit/trunk/${PORTVERSION}/+download/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Command line utility for pastebing LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}configobj>=4.3.2:devel/py-configobj USES= python:run shebangfix tar:bzip2 SHEBANG_FILES= pastebinit python_OLD_CMD= /usr/bin/python3 NO_BUILD= yes NO_ARCH= yes PLIST_FILES= bin/pastebinit PORTDATA= * +PORTDOCS= * -OPTIONS_DEFINE= PASTEBINS +OPTIONS_DEFINE= PASTEBINS DOCS OPTIONS_DEFAULT=PASTEBINS PASTEBINS_DESC= Install default pastebins post-patch: - ${REINPLACE_CMD} -e 's|/usr/share/pastebin.d|${DATADIR}/pastebin.d|' \ + @${REINPLACE_CMD} -e 's|/usr/share/pastebin.d|${DATADIR}/pastebin.d|' \ ${WRKSRC}/pastebinit do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} do-install-PASTEBINS-on: (cd ${WRKSRC} && ${COPYTREE_SHARE} pastebin.d ${STAGEDIR}${DATADIR}) + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include Index: head/misc/pastebinit/distinfo =================================================================== --- head/misc/pastebinit/distinfo (revision 421914) +++ head/misc/pastebinit/distinfo (revision 421915) @@ -1,2 +1,3 @@ -SHA256 (pastebinit-1.4.1.tar.bz2) = c23720ff19d239f7ae62dd7dc28f453aaea4823af29b1595ba2e58fe232988e6 -SIZE (pastebinit-1.4.1.tar.bz2) = 39202 +TIMESTAMP = 1473635387 +SHA256 (pastebinit-1.5.tar.bz2) = 42e5a84ce7e46825fb3b6478e11893fad357197327257e474bd0d3549f438457 +SIZE (pastebinit-1.5.tar.bz2) = 42941 Index: head/misc/pastebinit/files/patch-pastebinit =================================================================== --- head/misc/pastebinit/files/patch-pastebinit (revision 421914) +++ head/misc/pastebinit/files/patch-pastebinit (revision 421915) @@ -1,11 +1,11 @@ ---- pastebinit.orig 2014-01-18 04:52:04 UTC +--- pastebinit.orig 2016-09-11 23:10:22 UTC +++ pastebinit -@@ -33,7 +33,7 @@ else: +@@ -34,7 +34,7 @@ else: from urllib.request import FancyURLopener # Set the default pastebin --defaultPB = "http://pastebin.com" -+defaultPB = "http://paste2.org" +-defaultPB = "pastebin.com" ++defaultPB = "paste2.org" # Now try to override it with a distributor pastebin try: