blob: a2c8ebc52c3a362ae4b6fdbb8488d0daa84fcc91 (
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
|
# Created by: Anton Voronin <anton@urc.ac.ru>
# $FreeBSD$
PORTNAME= pr
PORTVERSION= 1.1
PORTREVISION= 1
CATEGORIES= comms net
MASTER_SITES= http://bsdforge.com/projects/source/comms/pr/
MAINTAINER= portmaster@bsdforge.com
COMMENT= Daemon that connects local terminal device to a terminal server
LICENSE= ARTPERL10
USES= shebangfix tar:xz
SHEBANG_FILES= sbin/PortRedirector sbin/PortTest
NO_BUILD= YES
WRKSRC= ${WRKDIR}/${PORTNAME}
PROGRAMS= PortRedirector PortTest
ETCFLS= PortRedirector.conf.sample
RCDFILES= pr.sh.sample
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
do-install:
(cd ${WRKSRC}/sbin && \
${INSTALL_SCRIPT} ${PROGRAMS} ${STAGEDIR}${PREFIX}/sbin)
(cd ${WRKSRC}/etc/rc.d && \
${INSTALL_DATA} ${RCDFILES} ${STAGEDIR}${PREFIX}/etc/rc.d)
(cd ${WRKSRC}/etc && \
${INSTALL_DATA} ${ETCFLS} ${STAGEDIR}${PREFIX}/etc)
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/share/doc/pr/PR.html ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>
|