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

PORTNAME=   ytree
DISTVERSION=    1.99pl1
CATEGORIES= misc
MASTER_SITES=   http://www.han.de/~werner/

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

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

USES=       ncurses
ALL_TARGET= ytree
MAKE_ARGS=  LDFLAGS="${LDFLAGS} -lncurses -lcompat"

OPTIONS_DEFINE= DOCS

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/ytree ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_DATA} ${WRKSRC}/ytree.conf ${STAGEDIR}${PREFIX}/etc/ytree.conf.sample
    ${INSTALL_MAN} ${WRKSRC}/ytree.1 ${STAGEDIR}${MANPREFIX}/man/man1

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/ytree
.for file in CHANGES README THANKS
    ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/share/doc/ytree
.endfor

.include <bsd.port.mk>