freebsd-ports/net/dropbox-uploader/Makefile
Mathieu Arnold 9d4e763ba0 Update ports in the n* categories to not use GH_COMMIT.
With minor cleanups to make things simpler.

With hat:	portmgr
Sponsored by:	Absolight
2015-05-07 17:26:05 +00:00

34 lines
804 B
Makefile

# Created by: Nicola Vitale <nivit@FreeBSD.org>
# $FreeBSD$
PORTNAME= dropbox-uploader
PORTVERSION= 0.12
#PORTREVISION= 0
CATEGORIES= net
MASTER_SITES= http://nivit.altervista.org/FreeBSD/ports/distfiles/
MAINTAINER= nivit@FreeBSD.org
COMMENT= BASH script for the Dropbox backup service
LICENSE= GPLv3
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \
curl:${PORTSDIR}/ftp/curl \
greadlink:${PORTSDIR}/sysutils/coreutils
USE_GITHUB= yes
GH_ACCOUNT= andreafabrizi
GH_PROJECT= Dropbox-Uploader
GH_TAGNAME= 3e5aef0
NO_BUILD= yes
PLIST_FILES= bin/dropShell.sh bin/dropbox_uploader.sh
post-patch:
${REINPLACE_CMD} -E -e 's,("darwin9"),\1 -o "$${OSTYPE:0:7}" == "freebsd" ,1' -i.bak ${WRKSRC}/dropShell.sh
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/*.sh ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>