# Created by: Andrey Cherkashin <andoriyu@gmail.com>
# $FreeBSD: tags/RELEASE_13_0_0/sysutils/reptyr/Makefile 550633 2020-09-30 00:13:09Z kevans $

PORTNAME=	reptyr
PORTVERSION=	0.8.0
CATEGORIES=	sysutils

MAINTAINER=	andoriyu@gmail.com
COMMENT=	Reparent a running program to a new terminal

LICENSE=	MIT

USE_GITHUB=	yes
GH_ACCOUNT=	nelhage
GH_TAGNAME=	reptyr-${PORTVERSION}

MAKE_ARGS=	BASHCOMPDIR=${PREFIX}/share/bash-completion/completions \
		MANDIR=${MANPREFIX}/man
USES=		gmake

ONLY_FOR_ARCHS=	i386 amd64

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/reptyr

.include <bsd.port.mk>
