openbsd-ports/misc/deco/Makefile
2021-02-01 01:22:57 +00:00

31 lines
777 B
Makefile

# $OpenBSD: Makefile,v 1.28 2021/02/01 01:22:57 cwen Exp $
COMMENT= Demos Commander, a free Norton Commander clone
DISTNAME= deco383
PKGNAME= deco-3.8.3
REVISION= 2
CATEGORIES= misc
MASTER_SITES= https://distfiles.sigtrap.nl/
EXTRACT_SUFX= .tgz
# GPL
PERMIT_PACKAGE= Yes
WANTLIB= c curses
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --libdir=${PREFIX}/share
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/deco ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/deco/help
${INSTALL_DATA} ${WRKBUILD}/menu ${PREFIX}/share/deco
${INSTALL_DATA} ${WRKBUILD}/profile ${PREFIX}/share/deco
.for f in general edit view hexview
${INSTALL_DATA} ${WRKBUILD}/help/*.${f} ${PREFIX}/share/deco/help
.endfor
${INSTALL_MAN} ${WRKBUILD}/ref.man ${PREFIX}/man/man1/deco.1
.include <bsd.port.mk>