46 lines
1.3 KiB
Makefile
46 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.34 2006/02/05 23:09:30 joerg Exp $
|
|
|
|
DISTNAME= geomview-1.8.1
|
|
PKGREVISION= 6
|
|
CATEGORIES= graphics math
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=geomview/}
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://www.geomview.org/
|
|
COMMENT= Interactive geometry viewing program
|
|
|
|
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= 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/MesaLib/buildlink3.mk"
|
|
.include "../../graphics/glu/buildlink3.mk"
|
|
.include "../../mk/motif.buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|