openbsd-ports/misc/ytree/Makefile
2012-08-18 12:41:37 +00:00

37 lines
863 B
Makefile

# $OpenBSD: Makefile,v 1.14 2012/08/18 12:41:38 ajacoutot Exp $
COMMENT= DOS-XTREE(tm) look-a-like file manager
DISTNAME= ytree-1.97
CATEGORIES= misc
HOMEPAGE= http://www.han.de/~werner/ytree.html
MASTER_SITES= http://www.han.de/~werner/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c curses readline
ALL_TARGET= ytree
USE_GROFF = Yes
NO_REGRESS= Yes
CFLAGS+= -DCOLOR_SUPPORT -DREADLINE_SUPPORT
LDFLAGS+= -lcompat -lreadline -lcurses
MAKE_FLAGS+= CC=${CC} CFLAGS="${CFLAGS}" 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>