aboutsummaryrefslogtreecommitdiffstats
path: root/misc/ytree/Makefile
blob: 04c20a2284162148c862f78990f70b2224ed09c5 (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
# Created by: Andrey Zakhvatov
# $FreeBSD$

PORTNAME=   ytree
PORTVERSION=    1.97
CATEGORIES= misc
MASTER_SITES=   http://www.han.de/~werner/

MAINTAINER= olgeni@FreeBSD.org
COMMENT=    DOS-XTREE(tm) look-a-like file manager

ALL_TARGET= ytree
MAN1=       ytree.1

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/ytree ${PREFIX}/bin
    ${INSTALL_DATA} ${WRKSRC}/ytree.conf ${PREFIX}/etc/ytree.conf.sample
    ${INSTALL_MAN} ${WRKSRC}/ytree.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/ytree
.for file in CHANGES README THANKS
    ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/ytree
.endfor
    @if [ ! -f ${PREFIX}/etc/ytree.conf ]; then \
        ${CP} -p ${PREFIX}/etc/ytree.conf.sample ${PREFIX}/etc/ytree.conf; \
    fi
.endif

.include <bsd.port.mk>