1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/misc/ytree/Makefile
Jimmy Olgeni 40002f5911 Unbreak: add proper handling of configuration file.
PR:		ports/108674
Submitted by:	rafan
2007-02-03 22:07:09 +00:00

35 lines
849 B
Makefile

# New ports collection makefile for: ytree
# Date created: 5 Jan 1998
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= ytree
PORTVERSION= 1.87
PORTREVISION= 2
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>