pkgsrc/games/xconq/Makefile
jlam 6e0c050321 * Teach the tools framework how to supply the pkgsrc version of
makeinfo if no native makeinfo executable exists.  Honor TEXINFO_REQD
  when determining whether the native makeinfo can be used.

* Remove USE_MAKEINFO and replace it with USE_TOOLS+=makeinfo.

* Get rid of all the "split" argument deduction for makeinfo since
  the PLIST module already handles varying numbers of split info files
  correctly.

NOTE: Platforms that have "makeinfo" in the base system should check
      that the makeinfo entries of pkgsrc/mk/tools.${OPSYS}.mk are
      correct.
2006-03-05 16:27:22 +00:00

32 lines
936 B
Makefile

# $NetBSD: Makefile,v 1.30 2006/03/05 16:27:25 jlam Exp $
DISTNAME= xconq-7.4.1
PKGREVISION= 5
CATEGORIES= games x11
MASTER_SITES= ftp://sources.redhat.com/pub/xconq/
MAINTAINER= kleink@NetBSD.org
HOMEPAGE= http://sources.redhat.com/xconq/
COMMENT= Xconq is a general strategy game system
USE_X11BASE= YES
USE_TOOLS+= gmake makeinfo
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --enable-alternate-scoresdir=${VARBASE}/games/xconq/scores
CONFIGURE_ARGS+= --with-tclconfig="${BUILDLINK_PREFIX.tcl}/lib"
CONFIGURE_ARGS+= --with-tkconfig="${BUILDLINK_PREFIX.tk}/lib"
MAKE_ENV+= LOCALBASE=${LOCALBASE:Q}
INFO_FILES= hacking.info xcdesign.info xconq.info
post-build:
cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} info
post-install:
cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} install-info
.include "../../lang/tcl/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"