2013-03-11 07:20:26 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2013/03/11 11:23:59 espie Exp $
|
2001-01-03 13:54:09 -05:00
|
|
|
|
2007-09-15 19:54:16 -04:00
|
|
|
COMMENT= DOS-XTREE(tm) look-a-like file manager
|
2001-05-05 22:29:37 -04:00
|
|
|
|
2012-01-28 21:26:52 -05:00
|
|
|
DISTNAME= ytree-1.97
|
2001-01-03 13:54:09 -05:00
|
|
|
CATEGORIES= misc
|
2002-10-27 16:07:53 -05:00
|
|
|
|
2001-01-03 13:54:09 -05:00
|
|
|
HOMEPAGE= http://www.han.de/~werner/ytree.html
|
|
|
|
|
2007-04-01 13:15:20 -04:00
|
|
|
MASTER_SITES= http://www.han.de/~werner/
|
2001-01-03 13:54:09 -05:00
|
|
|
|
2009-05-26 10:08:22 -04:00
|
|
|
# GPLv2
|
2001-01-03 13:54:09 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2009-05-26 10:08:22 -04:00
|
|
|
|
|
|
|
WANTLIB= c curses readline
|
2001-01-03 13:54:09 -05:00
|
|
|
|
2007-04-01 13:15:20 -04:00
|
|
|
ALL_TARGET= ytree
|
2001-01-03 13:54:09 -05:00
|
|
|
|
2010-10-18 16:52:05 -04:00
|
|
|
USE_GROFF = Yes
|
2013-03-11 07:20:26 -04:00
|
|
|
NO_TEST= Yes
|
2002-10-27 16:07:53 -05:00
|
|
|
|
2007-04-03 14:05:47 -04:00
|
|
|
CFLAGS+= -DCOLOR_SUPPORT -DREADLINE_SUPPORT
|
2009-03-22 11:53:04 -04:00
|
|
|
LDFLAGS+= -lcompat -lreadline -lcurses
|
2007-04-03 14:05:47 -04:00
|
|
|
MAKE_FLAGS+= CC=${CC} CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
2007-04-01 13:15:20 -04:00
|
|
|
|
2001-01-03 13:54:09 -05: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>
|