Edit

IABSD.fr/ports/graphics/geomview/Makefile

Branch :

  • Show log

    Commit

  • Author : naddy
    Date : 2022-03-11 19:22:04
    Hash : af6a7994
    Message : drop RCS Ids

  • graphics/geomview/Makefile
  • COMMENT =		geometry viewer for OOGL file formats
    
    V =			1.9.4
    DISTNAME =		geomview-$V
    REVISION =		12
    SHARED_LIBS =		geomview	0.0
    CATEGORIES =		graphics
    
    HOMEPAGE =		http://www.geomview.org
    # GPLv2
    PERMIT_PACKAGE =	Yes
    
    WANTLIB += ICE SM X11 Xext Xft Xm Xmu Xrender Xt c expat fontconfig
    WANTLIB += freetype iconv jpeg m png ${COMPILER_LIBCXX} xcb z
    
    COMPILER =		base-clang ports-gcc base-gcc
    
    MASTER_SITES =		${MASTER_SITE_SOURCEFORGE:=geomview/}
    
    RUN_DEPENDS =		graphics/netpbm \
    			print/ps2eps
    
    LIB_DEPENDS =		converters/libiconv \
    			x11/motif
    
    SUBST_VARS +=	V
    
    CONFIGURE_STYLE=gnu
    CONFIGURE_ARGS = --without-opengl
    CONFIGURE_ENV =	CPPFLAGS="-I${LOCALBASE}/include -Dalloca=alloca"
    
    MAN1_PAGES = 	animate.1 anytooff.1 anytoucd.1 bdy.1 bez2mesh.1 clip.1 \
    		geomview.1 hvectext.1 math2oogl.1 nose.1 offconsol.1 \
    		oogl2rib.1 oogl2vrml.1 polymerge.1 togeomview.1 ucdtooff.1 \
    		vrml2oogl.1
    MAN3_PAGES =	anytopl.3 bdy.3 fsaparse.3 geomutil.3 plcombine.3 plconsol.3 \
    		lisp.3
    MAN5_PAGES =	discgrp.5 oogl.5 geomview.5
    
    post-install:
    .for i in ${MAN1_PAGES}
    	mv ${PREFIX}/man/man1/${i}gv ${PREFIX}/man/man1/${i}
    .endfor
    .for i in ${MAN3_PAGES}
    	mv ${PREFIX}/man/man3/${i}gv ${PREFIX}/man/man3/${i}
    .endfor
    .for i in ${MAN5_PAGES}
    	mv ${PREFIX}/man/man5/${i}gv ${PREFIX}/man/man5/${i}
    .endfor
    	chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/doc/geomview/html/
    	# avoid conflict with graphics/ImageMagick
    	mv ${PREFIX}/man/man1/animate.1 ${PREFIX}/man/man1/geomview-animate.1
    
    .include <bsd.port.mk>