aboutsummaryrefslogtreecommitdiff
path: root/net/dropbox-api-command
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2012-08-26 16:53:20 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2012-08-26 16:53:20 +0000
commite0474193f612742b7a1392ae99a30983162f8857 (patch)
treeebbf36c7599779ecc4778dd446182d99a0094efa /net/dropbox-api-command
parent4817c4d554e797158f719dd0d4792dd0f82a816f (diff)
downloadports-e0474193f612742b7a1392ae99a30983162f8857.tar.gz
ports-e0474193f612742b7a1392ae99a30983162f8857.zip
Notes
Diffstat (limited to 'net/dropbox-api-command')
-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