aboutsummaryrefslogtreecommitdiffstats
path: root/misc/ytree/Makefile
blob: d63ee4d5f020feee09d4d536e2288dae8aef378d (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
# New ports collection makefile for:    ytree
# Date created:             5 Jan 1998
# Whom:                 Andrey Zakhvatov
#
# $FreeBSD$
#

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

MAINTAINER= olgeni@FreeBSD.org

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 [ ! -e ${PREFIX}/etc/ytree.conf ]; then \
        ${INSTALL_DATA} ${WRKSRC}/ytree.conf ${PREFIX}/etc/ytree.conf; \
    fi
.endif

.include <bsd.port.mk>