ports/181111: net/dropbox-api-command: update to 1.13
Andrew Childs
lorne at cons.org.nz
Wed Aug 7 11:40:00 UTC 2013
>Number: 181111
>Category: ports
>Synopsis: net/dropbox-api-command: update to 1.13
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 07 11:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Andrew Childs
>Release: FreeBSD 9.1-RELEASE-p5 amd64
>Organization:
>Environment:
System: FreeBSD northind.cons.org.nz 9.1-RELEASE-p5 FreeBSD 9.1-RELEASE-p5 #0: Sat Jul 27 01:14:23 UTC 2013 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Update to 1.13
Requires net/p5-WebService-Dropbox >= 1.17, 1.18 is provided by
ports/181110.
>How-To-Repeat:
>Fix:
--- 0002-net-dropbox-api-command-update-to-1.13.patch begins here ---
>From b79b8ef350ac51bb7d46e7762589ba979b31ee69 Mon Sep 17 00:00:00 2001
From: Andrew Childs <lorne at cons.org.nz>
Date: Fri, 2 Aug 2013 10:29:36 +1200
---
net/dropbox-api-command/Makefile | 32 ++++++++++++++++++--------------
net/dropbox-api-command/distinfo | 4 ++--
2 files changed, 20 insertions(+), 16 deletions(-)
diff --git a/net/dropbox-api-command/Makefile b/net/dropbox-api-command/Makefile
index a0785e2..83d8f00 100644
--- a/net/dropbox-api-command/Makefile
+++ b/net/dropbox-api-command/Makefile
@@ -1,39 +1,43 @@
-# New ports collection makefile for: dropbox-api-command
-# Date created: 2011-07-14
-# Whom: Lung-Pin Chang <changlp at cs.nctu.edu.tw>
-#
# $FreeBSD$
-#
PORTNAME= dropbox-api-command
-PORTVERSION= 1.05
+PORTVERSION= 1.13
PORTEPOCH= 1
CATEGORIES= net
MAINTAINER= changlp at cs.nctu.edu.tw
COMMENT= Dropbox API wrapper command
-RUN_DEPENDS= p5-DateTime-Format-Strptime>=0:${PORTSDIR}/devel/p5-DateTime-Format-Strptime \
+BUILD_DEPENDS= p5-DateTime-Format-Strptime>=0:${PORTSDIR}/devel/p5-DateTime-Format-Strptime \
p5-Encode-Locale>=0:${PORTSDIR}/converters/p5-Encode-Locale \
p5-JSON>=0:${PORTSDIR}/converters/p5-JSON \
- p5-WebService-Dropbox>=1.09:${PORTSDIR}/net/p5-WebService-Dropbox \
- p5-Path-Class>=0:${PORTSDIR}/devel/p5-Path-Class
+ p5-WebService-Dropbox>=1.17:${PORTSDIR}/net/p5-WebService-Dropbox \
+ p5-Path-Class>=0.26:${PORTSDIR}/devel/p5-Path-Class
+RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_GITHUB= yes
GH_ACCOUNT= s-aska
GH_TAGNAME= ${PORTVERSION}
-GH_COMMIT= cd3a707
+GH_COMMIT= 1c843ed
-NO_BUILD= yes
-USE_PERL5_RUN= yes
+PERL_CONFIGURE= YES
+# There is documentation contained in an otherwise empty library
+# (App::dropboxapi). In post-patch copy it over to the main
+# dropbox-api script so the perl build process makes a dropbox-api.1,
+# and override do-install to only copy the useful parts, i.e., not the
+# empty library.
+
+MAN1= dropbox-api.1
PLIST_FILES= bin/dropbox-api bin/upload-to-dropbox
post-patch:
${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' ${WRKSRC}/upload-to-dropbox
+ ${TAIL} +3 ${WRKSRC}/lib/App/dropboxapi.pm >> ${WRKSRC}/dropbox-api
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/dropbox-api ${PREFIX}/bin/
- ${INSTALL_SCRIPT} ${WRKSRC}/upload-to-dropbox ${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/blib/man1/dropbox-api.1 ${PREFIX}/man/man1/
+ ${INSTALL_SCRIPT} ${WRKSRC}/blib/script/dropbox-api ${PREFIX}/bin/
+ ${INSTALL_SCRIPT} ${WRKSRC}/upload-to-dropbox ${PREFIX}/bin/
.include <bsd.port.mk>
diff --git a/net/dropbox-api-command/distinfo b/net/dropbox-api-command/distinfo
index 54a7a1b..c854537 100644
--- a/net/dropbox-api-command/distinfo
+++ b/net/dropbox-api-command/distinfo
@@ -1,2 +1,2 @@
-SHA256 (dropbox-api-command-1.05.tar.gz) = a04c84f01dd77941ad46db162c4ed36caeace5f4601b5c9e932eb57335642fdc
-SIZE (dropbox-api-command-1.05.tar.gz) = 7524
+SHA256 (dropbox-api-command-1.13.tar.gz) = db42fa3d8a1788866d11f97e7422d221d606ea745c1398a5f6165f0364ef92a8
+SIZE (dropbox-api-command-1.13.tar.gz) = 11327
--
1.8.3.4
--- 0002-net-dropbox-api-command-update-to-1.13.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list