openbsd-ports/misc/deco/Makefile

33 lines
909 B
Makefile

# $OpenBSD: Makefile,v 1.17 2009/01/23 09:11:57 sthen Exp $
# $FreeBSD: Makefile,v 1.1.1.1 1998/03/27 11:56:44 tg Exp $
COMMENT= Demos Commander, a free Norton Commander clone
DISTNAME= deco383
PKGNAME= deco-3.8.3p1
CATEGORIES= misc
MASTER_SITES= http://humppa.nl/distfiles/
EXTRACT_SUFX= .tgz
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= 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>