mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
34 lines
813 B
Makefile
34 lines
813 B
Makefile
# Created by: Andrey Zakhvatov
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ytree
|
|
DISTVERSION= 2.02
|
|
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 readline
|
|
ALL_TARGET= ytree
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -lreadline
|
|
|
|
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>
|