aboutsummaryrefslogblamecommitdiff
path: root/sysutils/gitwatch/Makefile
blob: bcf1297bccd17f88f816496def140720766f4334 (plain) (tree)
1
                                                       






























                                                                                       
# Created by: Muhammad Moinur Rahman <bofh@FreeBSD.org>

PORTNAME=	gitwatch
DISTVERSION=	0.1.a.20200814
CATEGORIES=	sysutils

MAINTAINER=	bofh@FreeBSD.org
COMMENT=	Bash script to watch a file or folder and commit changes to a git repo

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE

RUN_DEPENDS=	bash>0:shells/bash \
		git:devel/git@lite \
		inotifywait:sysutils/inotify-tools

USES=		shebangfix
USE_GITHUB=	yes
USE_RC_SUBR=	${PORTNAME}

GH_TAGNAME=	e62df74

SHEBANG_FILES=	${WRKSRC}/${PORTNAME}.sh

NO_ARCH=	yes
NO_BUILD=	yes
PLIST_FILES=	bin/${PORTNAME}

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>