pkgsrc/print/gv/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

33 lines
767 B
Makefile

# $NetBSD: Makefile,v 1.59 2006/03/05 16:27:28 jlam Exp $
DISTNAME= gv-3.6.1
PKGREVISION= 1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_GNU:=gv/}
MAINTAINER= tron@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/gv/
COMMENT= PostScript and PDF previewer
GNU_CONFIGURE= yes
USE_TOOLS+= gmake gs:run makeinfo
TEXINFO_REQD= 4.2
INFO_FILES= gv.info
# this pkg does not work with std xaw, but xpm and xaw3d work
XAW_TYPE?= 3d
.include "../../mk/bsd.prefs.mk"
.if ${XAW_TYPE} == "standard"
XAW_TYPE= 3d
.endif
.if !exists(/usr/include/getopt.h)
. include "../../pkgtools/libnbcompat/buildlink3.mk"
post-extract:
cd ${WRKSRC}/src && ${LN} -s ${PREFIX}/include/nbcompat.h getopt.h
.endif
.include "../../mk/xaw.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"