pkgsrc/graphics/geomview/Makefile
seb 66111c6d15 Introduce new framework for handling info files generation and installation.
Summary of changes:
- removal of USE_GTEXINFO
- addition of mk/texinfo.mk
- inclusion of this file in package Makefiles requiring it
- `install-info' substituted by `${INSTALL_INFO}' in PLISTs
- tuning of mk/bsd.pkg.mk:
    removal of USE_GTEXINFO
    INSTALL_INFO added to PLIST_SUBST
    `${INSTALL_INFO}' replace `install-info' in target rules
    print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info'
- a couple of new patch files added for a handful of packages
- setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it
- devel/cssc marked requiring texinfo 4.0
- a couple of packages Makefiles were tuned with respect of INFO_FILES and
  makeinfo command usage

See -newly added by this commit- section 10.24 of Packages.txt for
further information.
2002-02-18 15:14:00 +00:00

47 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.18 2002/02/18 15:14:20 seb Exp $
DISTNAME= geomview-1.8.1
CATEGORIES= graphics math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=geomview/}
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.geomview.org
COMMENT= Interactive geometry viewing program
CONFLICTS= ImageMagick-[0-9]* # both have a program named 'animate'
USE_BUILDLINK_ONLY= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-xforms
CONFIGURE_ARGS+= --with-opengl=${BUILDLINK_DIR}
CONFIGURE_ARGS+= --with-motif=${BUILDLINK_DIR}
CPPFLAGS+= -Dunix -Dalloca=__builtin_alloca
INFO_FILES= geomview
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "Linux"
CONFIGURE_ARGS+= --enable-fstropen-1
.endif
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/geomview
${INSTALL_DATA} ${WRKSRC}/doc/geomview.pdf \
${PREFIX}/share/doc/geomview
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/geomview
${INSTALL_DATA} ${WRKSRC}/doc/example* \
${PREFIX}/share/examples/geomview
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/geomview
${INSTALL_DATA} ${WRKSRC}/doc/html/*.html \
${PREFIX}/share/doc/html/geomview
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/geomview/pix
${INSTALL_DATA} ${WRKSRC}/doc/html/pix/* \
${PREFIX}/share/doc/html/geomview/pix
.include "../../graphics/Mesa/buildlink.mk"
.include "../../mk/motif.buildlink.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"