HEX
Server: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2s mod_fcgid/2.3.9
System: FreeBSD salazo 12.0-RELEASE-p1303-ZFS hostBSD 12.0-RELEASE-p1303-ZFS DMR amd64
User: admin (1000)
PHP: 7.4.3
Disabled: NONE
Upload Files
File: /usr/ports/sysutils/gitwatch/Makefile
# 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>