aboutsummaryrefslogtreecommitdiff
path: root/misc/ytree/Makefile
blob: f534ff9d6a2a70cdd077823bab772bf9f515b5d8 (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
33
# New ports collection makefile for:	ytree
# Date created:				5 Jan 1998
# Whom:					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>