blob: 5b92ba9d0e2fbcde12cf8b06b46406509dd81214 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# $NetBSD: Makefile,v 1.6 2001/04/14 21:43:43 jtb 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-* # both have a program named 'animate'
GNU_CONFIGURE= YES
USE_X11= YES
USE_MOTIF= YES
USE_MESA= YES
EVAL_PREFIX+= MESA_PREFIX=Mesa
CONFIGURE_ARGS+= --without-xforms
CONFIGURE_ARGS+= --with-opengl=${MESA_PREFIX}
CONFIGURE_ARGS+= --with-motif=${MOTIFBASE}
CONFIGURE_ENV+= "CPPFLAGS=-Dunix -Dalloca=__builtin_alloca"
INFO_FILES= geomview
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 "../../mk/bsd.pkg.mk"
|