aboutsummaryrefslogtreecommitdiffstats
path: root/misc/dtach/Makefile
blob: 1eb80c5fb842b3a4d7dbc3707c51514c00e92df0 (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
# Created by: Bjorn Lindstrom <bkhl@elektrubadur.se>
# $FreeBSD$

PORTNAME=       dtach
PORTVERSION=        0.8
PORTREVISION=       1
CATEGORIES=     misc
MASTER_SITES=       SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    Emulates the detach feature of screen

GNU_CONFIGURE=  yes
ALL_TARGET= dtach

MAN1=       dtach.1
PORTDOCS=   README
PLIST_FILES=    bin/${PORTNAME}

.include <bsd.port.options.mk>

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/dtach ${PREFIX}/bin/
    @${INSTALL_MAN} ${WRKSRC}/dtach.1 ${MAN1PREFIX}/man/man1/

.if ${PORT_OPTIONS:MDOCS}
    @${INSTALL} -d ${DOCSDIR}/
    @cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif

.include <bsd.port.mk>