openbsd-ports/misc/ytree/Makefile
martynas b0bb817009 - update to ytree-1.87;
- make it more friendly to openbsd;
ok ajacoutot@
2007-04-01 17:15:20 +00:00

37 lines
965 B
Makefile

# $OpenBSD: Makefile,v 1.7 2007/04/01 17:15:20 martynas Exp $
# $FreeBSD: ports/misc/ytree/Makefile,v 1.10 2000/04/30 20:15:23 steve Exp $
COMMENT= "DOS-XTREE(tm) look-a-like file manager"
DISTNAME= ytree-1.87
CATEGORIES= misc
HOMEPAGE= http://www.han.de/~werner/ytree.html
MAINTAINER= William Yodlowsky <bsd@openbsd.rutgers.edu>
MASTER_SITES= http://www.han.de/~werner/
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c curses readline
ALL_TARGET= ytree
NO_REGRESS= Yes
CFLAGS+= -Dopenbsd -DCOLOR_SUPPORT -DHAS_REGEX -DREADLINE_SUPPORT
LDFLAGS+= -lcompat -lcurses -lreadline
MAKE_ENV+= LDFLAGS="${LDFLAGS}"
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>