[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / graphics / geomview

File: [cvs.NetBSD.org] / pkgsrc / graphics / geomview / Makefile (download)

Revision 1.42, Sat Apr 6 20:27:21 2013 UTC (10 years, 11 months ago) by rodent
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2
Changes since 1.41: +2 -2 lines

Resolves:
"INFO_FILES should be set to YES or yes."
"Packages that install info files should set INFO_FILES."
Makefile and PLIST warning, respectively.

# $NetBSD: Makefile,v 1.42 2013/04/06 20:27:21 rodent Exp $

DISTNAME=		geomview-1.8.1
PKGREVISION=		6
CATEGORIES=		graphics math
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=geomview/}

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.geomview.org/
COMMENT=		Interactive geometry viewing program

MAKE_JOBS_SAFE=		no

USE_TOOLS+=		lex
USE_LANGUAGES=		c c++
USE_X11BASE=		yes
GNU_CONFIGURE=		yes

CONFIGURE_ARGS+=	--without-xforms
CONFIGURE_ARGS+=	--with-opengl=${BUILDLINK_PREFIX.Mesa}
CONFIGURE_ARGS+=	--with-motif=${MOTIFBASE:Q}
CPPFLAGS+=		-Dunix -Dalloca=__builtin_alloca
INFO_FILES=		yes

INSTALLATION_DIRS=	share/doc/geomview share/examples/geomview \
			share/doc/html/geomview/pix

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} != "Linux"
CONFIGURE_ARGS+=	--enable-fstropen-1
.endif

post-install:
	${INSTALL_DATA} ${WRKSRC}/doc/geomview.pdf			\
	    ${DESTDIR}${PREFIX}/share/doc/geomview
	${INSTALL_DATA} ${WRKSRC}/doc/example*				\
	    ${DESTDIR}${PREFIX}/share/examples/geomview
	${INSTALL_DATA} ${WRKSRC}/doc/html/*.html 			\
	    ${DESTDIR}${PREFIX}/share/doc/html/geomview
	${INSTALL_DATA} ${WRKSRC}/doc/html/pix/*			\
	    ${DESTDIR}${PREFIX}/share/doc/html/geomview/pix

.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../mk/motif.buildlink3.mk"

.include "../../mk/bsd.pkg.mk"