mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
3e4ed01146
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
76 lines
1.9 KiB
Makefile
76 lines
1.9 KiB
Makefile
# New ports collection makefile for: geomview
|
|
# Date created: 5 November 1996
|
|
# Whom: fenner
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= geomview
|
|
PORTVERSION= 1.8.1
|
|
PORTREVISION= 4
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF/geomview
|
|
|
|
MAINTAINER= bms@FreeBSD.org
|
|
COMMENT= An interactive viewer for 3- and 4-D geometric objects
|
|
|
|
USE_MOTIF= yes
|
|
USE_XORG= glut
|
|
|
|
USE_AUTOTOOLS= autoconf:213
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-opengl=${LOCALBASE}
|
|
|
|
MANCOMPRESSED= no
|
|
MAN1= geomview.1 togeomview.1 bdy.1 oogl2rib.1 anytooff.1 \
|
|
bez2mesh.1 offconsol.1 polymerge.1 vrml2oogl.1 clip.1 \
|
|
math2oogl.1 oogl2vrml.1 anytoucd.1 ucdtooff.1
|
|
MAN3= lisp.3
|
|
MAN5= oogl.5 geomview.5
|
|
|
|
INFO= geomview-7 geomview-6 geomview-5 geomview-4 geomview-3 \
|
|
geomview-2 geomview-1 geomview
|
|
|
|
MAN_FILES= oogl.5 geomview.5
|
|
DOC_FILES= gvplot.txt oogltour OOGL.m.txt README
|
|
|
|
EXAMPLE_FILES= example1.c example2.c example3.c example4.tcl
|
|
|
|
# Set "CPU" type for Geomview make
|
|
# Allow user to specify "make install MAPLE_LIB=foo" as geomview wants
|
|
MAKE_ENV= CPU=FreeBSD MAPLE_LIB=${MAPLE_LIB}
|
|
|
|
AC_FAKE_FILES= aclocal.m4 config.h.in stamp-h stamp-h.in
|
|
|
|
post-configure:
|
|
cd ${WRKSRC}; ${TOUCH} ${AC_FAKE_FILES}
|
|
${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${TOUCH}
|
|
|
|
post-install:
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
.for i in ${EXAMPLE_FILES}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${EXAMPLESDIR}
|
|
.endfor
|
|
.for i in ${MAN3}
|
|
${INSTALL_MAN} ${WRKSRC}/doc/${i} ${PREFIX}/man/man3
|
|
.endfor
|
|
.for i in ${MAN5}
|
|
${INSTALL_MAN} ${WRKSRC}/doc/${i} ${PREFIX}/man/man5
|
|
.endfor
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR} ${DOCSDIR}/figs ${DOCSDIR}/html \
|
|
${DOCSDIR}/html/pix
|
|
.for i in ${DOC_FILES}
|
|
${INSTALL_MAN} ${WRKSRC}/doc/${i} ${DOCSDIR}
|
|
.endfor
|
|
${INSTALL_MAN} ${WRKSRC}/doc/figs/*.ps ${DOCSDIR}/figs
|
|
${INSTALL_MAN} ${WRKSRC}/doc/html/*.html ${DOCSDIR}/html
|
|
${INSTALL_MAN} ${WRKSRC}/doc/html/pix/*.gif ${DOCSDIR}/html/pix
|
|
.for i in ${INFO}
|
|
${MV} ${PREFIX}/info/${i} ${PREFIX}/info/${i}.info
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|