blob: fd19fdb9883c55b56b6480f4f35a65598cf33d34 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Created by: Andrey Cherkashin <andoriyu@gmail.com>
# $FreeBSD$
PORTNAME= reptyr
PORTVERSION= 0.6.3a
PORTREVISION= 1
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
USES= gmake
OPTIONS_DEFINE= BASH
OPTIONS_SUB= yes
ONLY_FOR_ARCHS= i386 amd64
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MBASH}
BUILD_DEPENDS= ${LOCALBASE}/share/bash-completion/bash_completion:${PORTSDIR}/shells/bash-completion
.endif
BROKEN_FreeBSD_8= Not supported on FreeBSD older than 10.0
BROKEN_FreeBSD_9= Not supported on FreeBSD older than 10.0
post-install:
.if ${PORT_OPTIONS:MBASH}
${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
${INSTALL_SCRIPT} ${WRKSRC}/reptyr.bash \
${STAGEDIR}${PREFIX}/etc/bash_completion.d/reptyr
.endif
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/reptyr
.include <bsd.port.post.mk>
|