freebsd-ports/sysutils/reptyr/Makefile
Raphael Kubo da Costa 57f7e97b8d Fix build on FreeBSD 9 and clean up.
- Add a small patch to fix the build on FreeBSD 9 and unmark it BROKEN there.
- Drop patch-Makefile, everything that it was changed can be set via MAKE_ARGS
  instead.
- Unconditionally install the bash-completion file and stop build-depending on
  shells/bash-completion: it is not needed at all, reptyr just installs a file
  into a bash-completion directory and does not actually need it for that.
  The BASH option was not even working before r407168 (see bug 206541).

PR:		206539
Approved by:	Andrey Cherkashin <andoriyu@gmail.com> (maintainer)
MFH:		2016Q1
2016-01-27 10:30:42 +00:00

28 lines
552 B
Makefile

# Created by: Andrey Cherkashin <andoriyu@gmail.com>
# $FreeBSD$
PORTNAME= reptyr
PORTVERSION= 0.6.3a
PORTREVISION= 2
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= 6fb15adb4552e170bcd5e648803da83dba57283b
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>