blob: b111bcb91e2bb265fc179310508ab67894be8dcc (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
PORTNAME= geomview
PORTVERSION= 1.9.5
PORTREVISION= 5
CATEGORIES= graphics education
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Interactive viewer for 3- and 4-D geometric objects
WWW= http://www.geomview.org/
LICENSE= LGPL21+ # COPYING mentions LGPL21, source files LGPL20
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= xdg-open:devel/xdg-utils
USES= cpe gl libtool motif tar:bzip2
USE_GL= gl glu
USE_LDCONFIG= yes
USE_XORG= ice sm x11 xext xmu xt
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS= --with-htmlbrowser=xdg-open --with-pdfviewer=xdg-open \
--with-motif=${LOCALBASE} --with-opengl=${LOCALBASE}
INSTALL_TARGET= install-strip
PLIST_SUB= VERSION="${PORTVERSION}"
OPTIONS_DEFINE= DOCS EXAMPLES INFO MOTION_AVG
OPTIONS_DEFAULT= INFO
MOTION_AVG_DESC= Experimental motion averaging code
INFO_USES= makeinfo
INFO_INFO= geomview
MOTION_AVG_CONFIGURE_ENABLE= motion-averaging
post-patch:
@${REINPLACE_CMD} -e \
'/^install-data-am:/s|install-info-am|| ; \
/install-man/s|install-nobase_infoimgDATA||' \
${WRKSRC}/doc/Makefile.in
post-build-INFO-on:
@(cd ${WRKSRC}/doc && makeinfo --no-split --no-validate \
-o geomview.info geomview.texi)
post-install-INFO-on:
(cd ${WRKSRC}/doc && ${INSTALL_DATA} geomview.info \
${STAGEDIR}${PREFIX}/${INFO_PATH})
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} README \
${STAGEDIR}${DOCSDIR})
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/doc && ${INSTALL_DATA} *.c *.tcl \
${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>
|