1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/net/dropbox-uploader/Makefile
Nicola Vitale 2b0773624d - Update to 1.0
- Add LICENSE_FILE
- Remove GN_TAGNAME
2017-07-22 21:01:14 +00:00

35 lines
727 B
Makefile

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