blob: d607c8af75352ec2a9dc981bb46b89fd52f145de (
plain)
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
42
|
# Created by: Shinsuke Matsui <smatsui@karashi.org>
# $FreeBSD$
PORTNAME= jerm
PORTVERSION= 8096
CATEGORIES= comms
MASTER_SITES= http://www.bsddiary.net/jerm/
MAINTAINER= smatsui@karashi.org
COMMENT= Communication terminal through serial and TCP/IP interfaces
OPTIONS_DEFINE= DOCS JUPITER
JUPITER_DESC= With Jupiter support
OPTIONS_SUB= yes
PORTDOCS= README
JUPITER_MAKE_ARGS_OFF= JUPITER_FLAGS=
post-patch:
@${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS?=|' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|sys/termios.h|termios.h|' \
${WRKSRC}/tiocdtr.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/jerm ${STAGEDIR}${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/tiocdtr ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/jerm.1 ${STAGEDIR}${PREFIX}/man/man1/
do-install-JUPITER-on:
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/jerm
${INSTALL_SCRIPT} ${WRKSRC}/init.sh ${STAGEDIR}${PREFIX}/libexec/jerm/
${INSTALL_SCRIPT} ${WRKSRC}/rock.pl ${STAGEDIR}${PREFIX}/libexec/jerm/
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|