aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2012-08-27 00:53:20 +0800
committerrakuco <rakuco@FreeBSD.org>2012-08-27 00:53:20 +0800
commit71e4f3402cacdd1608c9a686d6e3afebe2f53811 (patch)
treeebbf36c7599779ecc4778dd446182d99a0094efa /net
parent39f45bb6c875461ad476a42432a8bdada9de037a (diff)
downloadfreebsd-ports-gnome-71e4f3402cacdd1608c9a686d6e3afebe2f53811.tar.gz
freebsd-ports-gnome-71e4f3402cacdd1608c9a686d6e3afebe2f53811.tar.zst
freebsd-ports-gnome-71e4f3402cacdd1608c9a686d6e3afebe2f53811.zip
Update to 1.03.
PR: ports/171027 Submitted by: Lung-Pin Chang <changlp@cs.nctu.edu.tw> (maintainer)
Diffstat (limited to 'net')
-rw-r--r--net/dropbox-api-command/Makefile20
-rw-r--r--net/dropbox-api-command/distinfo4
2 files changed, 14 insertions, 10 deletions
diff --git a/net/dropbox-api-command/Makefile b/net/dropbox-api-command/Makefile
index 49c6f55035e2..08729a17eb20 100644
--- a/net/dropbox-api-command/Makefile
+++ b/net/dropbox-api-command/Makefile
@@ -6,13 +6,9 @@
#
PORTNAME= dropbox-api-command
-PORTVERSION= 1.02
+PORTVERSION= 1.03
PORTEPOCH= 1
CATEGORIES= net
-MASTER_SITES= https://github.com/s-aska/${PORTNAME}/raw/${PORTVERSION}/
-DISTNAME= dropbox-api
-EXTRACT_SUFX= # empty
-EXTRACT_ONLY= # empty
MAINTAINER= changlp@cs.nctu.edu.tw
COMMENT= Dropbox API wrapper command
@@ -23,13 +19,21 @@ RUN_DEPENDS= p5-DateTime-Format-Strptime>=0:${PORTSDIR}/devel/p5-DateTime-Format
p5-WebService-Dropbox>=0:${PORTSDIR}/net/p5-WebService-Dropbox \
p5-Path-Class>=0:${PORTSDIR}/devel/p5-Path-Class
-FETCH_ARGS= -pRr
+USE_GITHUB= yes
+GH_ACCOUNT= s-aska
+GH_TAGNAME= ${PORTVERSION}
+GH_COMMIT= b29aaad
+
NO_BUILD= yes
USE_PERL5_RUN= yes
-PLIST_FILES= bin/dropbox-api
+PLIST_FILES= bin/dropbox-api bin/upload-to-dropbox
+
+post-patch:
+ ${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' ${WRKSRC}/upload-to-dropbox
do-install:
- ${INSTALL_SCRIPT} ${DISTDIR}/dropbox-api ${PREFIX}/bin/dropbox-api
+ ${INSTALL_SCRIPT} ${WRKSRC}/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 a07d3ad77a2d..317d7e5e50c9 100644
--- a/net/dropbox-api-command/distinfo
+++ b/net/dropbox-api-command/distinfo
@@ -1,2 +1,2 @@
-SHA256 (dropbox-api) = 9b39a50fcd6530d254e75bf79e4560c466552660ce5a98b41453817d7dd925b3
-SIZE (dropbox-api) = 20965
+SHA256 (dropbox-api-command-1.03.tar.gz) = cd0bd174fa6ba3645c407f68d2b2cbead90f3f3f8fd930bd57598e874be064ff
+SIZE (dropbox-api-command-1.03.tar.gz) = 6864