freebsd-ports/misc/ytree/Makefile

33 lines
801 B
Makefile
Raw Normal View History

# Created by: Andrey Zakhvatov
PORTNAME= ytree
2021-01-05 17:21:49 +01:00
DISTVERSION= 2.03
CATEGORIES= misc
MASTER_SITES= http://www.han.de/~werner/
MAINTAINER= olgeni@FreeBSD.org
2003-02-23 11:51:29 +01:00
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:
2013-10-29 21:50:39 +01:00
${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:
2013-10-29 21:50:39 +01:00
@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/ytree
.for file in CHANGES README THANKS
2013-10-29 21:50:39 +01:00
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/share/doc/ytree
.endfor
.include <bsd.port.mk>