1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/graphics/fv/Makefile
Jean-Yves Lefort 70e175ed96 Add fv.
fv is an HDRI viewer. Currently supported formats are the followings:
* Greg Ward's HDR (also known as Radiance/PIC/RGBE). See
  http://www.graphics.cornell.edu/~bjw/rgbe.html for details.
* Paul Debevec's PFM (Portable Float Map). See
  http://netpbm.sourceforge.net/doc/pfm.html for details.

fv reads data from the standard input or files specified as
arguments. In the latter case, each file may be compressed one with
gzip or bzip2. The file may also change after fv is invoked, except
its header part. fv checks whether the file changes and updates the
display if necessary. This feature is useful for checking intermediate
outputs from renderers.

WWW: http://www.eaflux.com/fv/

PR:		ports/85840
Submitted by:	Igor Pokrovsky <ip@doom.homeunix.org>
2005-09-07 21:08:22 +00:00

46 lines
1.1 KiB
Makefile

# New ports collection makefile for: fv
# Date created: 07 Sep 2005
# Whom: Igor Pokrovsky <ip@doom.homeunix.org>
#
# $FreeBSD$
#
PORTNAME= fv
PORTVERSION= 1.01
CATEGORIES= graphics
MASTER_SITES= http://www.eaflux.com/fv/sources/
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
MAINTAINER= ip@doom.homeunix.org
COMMENT= A viewer of hdr/pfm images
LIB_DEPENDS= glut.3:${PORTSDIR}/graphics/libglut \
png.5:${PORTSDIR}/graphics/png
USE_ZIP= yes
USE_GCC= 3.3+
USE_GETOPT_LONG=yes
USE_GL= yes
USE_X_PREFIX= yes
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= README
do-build:
${CXX} ${CXXFLAGS} -DNDEBUG -DHAVE_DECL_GETOPT -I${X11BASE}/include \
-I${LOCALBASE}/include -I${WRKSRC} ${CPPFLAGS} \
${PTHREAD_CFLAGS} ${LDFLAGS} -L${X11BASE}/lib \
-L${LOCALBASE}/lib -lpng -lz -lbz2 -lglut -lGLU -lGL -lXi \
-lXmu -lX11 -lXext -lSM -lm ${PTHREAD_LIBS} \
-o ${WRKSRC}/${PORTNAME} ${WRKSRC}/*.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.ifndef (NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>