2015-07-19 01:32:46 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.18 2015/07/19 01:32:46 ajacoutot Exp $
|
2001-01-03 18:54:09 +00:00
|
|
|
|
2007-09-15 23:54:16 +00:00
|
|
|
COMMENT= DOS-XTREE(tm) look-a-like file manager
|
2001-05-06 02:29:37 +00:00
|
|
|
|
2015-07-19 01:32:46 +00:00
|
|
|
DISTNAME= ytree-1.98
|
2001-01-03 18:54:09 +00:00
|
|
|
CATEGORIES= misc
|
2002-10-27 21:07:53 +00:00
|
|
|
|
2001-01-03 18:54:09 +00:00
|
|
|
HOMEPAGE= http://www.han.de/~werner/ytree.html
|
|
|
|
|
2007-04-01 17:15:20 +00:00
|
|
|
MASTER_SITES= http://www.han.de/~werner/
|
2001-01-03 18:54:09 +00:00
|
|
|
|
2009-05-26 14:08:22 +00:00
|
|
|
# GPLv2
|
2001-01-03 18:54:09 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2009-05-26 14:08:22 +00:00
|
|
|
|
|
|
|
WANTLIB= c curses readline
|
2001-01-03 18:54:09 +00:00
|
|
|
|
2007-04-01 17:15:20 +00:00
|
|
|
ALL_TARGET= ytree
|
2001-01-03 18:54:09 +00:00
|
|
|
|
2013-03-11 11:20:26 +00:00
|
|
|
NO_TEST= Yes
|
2002-10-27 21:07:53 +00:00
|
|
|
|
2007-04-03 18:05:47 +00:00
|
|
|
CFLAGS+= -DCOLOR_SUPPORT -DREADLINE_SUPPORT
|
2013-11-29 15:56:44 +00:00
|
|
|
LDFLAGS+= -lreadline -lcurses
|
2007-04-03 18:05:47 +00:00
|
|
|
MAKE_FLAGS+= CC=${CC} CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
2007-04-01 17:15:20 +00:00
|
|
|
|
2001-01-03 18:54:09 +00:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/ytree ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ytree
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/ytree.conf \
|
|
|
|
${PREFIX}/share/examples/ytree/ytree.conf
|
|
|
|
${INSTALL_MAN} ${WRKBUILD}/ytree.1 ${PREFIX}/man/man1
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|