pkgsrc/games/knights/Makefile

31 lines
820 B
Makefile

# $NetBSD: Makefile,v 1.7 2003/05/02 11:55:01 wiz Exp $
DISTNAME= knights-0.4.6
PKGREVISION= 2
CATEGORIES= games kde
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=knights/}
MAINTAINER= jlam@netbsd.org
HOMEPAGE= http://knights.sourceforge.net/
COMMENT= chess interface for KDE
USE_BUILDLINK2= YES
USE_GMAKE= YES
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/admin/ltconfig
MEINPROC= ${BUILDLINK_PREFIX.kdelibs2}/bin/meinproc
DOCDIR= ${PREFIX}/share/doc/kde/HTML/en/knights
post-build:
cd ${WRKSRC}/doc/en; \
${MEINPROC} --check --cache index.cache.bz2 index.docbook
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/en/index.cache.bz2 ${DOCDIR}
.include "../../x11/kde2/buildlink2.mk"
.include "../../x11/kdebase2/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"