2005-09-07 23:08:22 +02:00
|
|
|
# New ports collection makefile for: fv
|
|
|
|
# Date created: 07 Sep 2005
|
|
|
|
# Whom: Igor Pokrovsky <ip@doom.homeunix.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= fv
|
2007-12-14 19:45:11 +01:00
|
|
|
PORTVERSION= 1.02
|
2009-01-23 17:28:36 +01:00
|
|
|
PORTREVISION= 1
|
2005-09-07 23:08:22 +02:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= http://www.eaflux.com/fv/sources/
|
|
|
|
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
|
|
|
|
|
2006-07-22 06:28:27 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-09-07 23:08:22 +02:00
|
|
|
COMMENT= A viewer of hdr/pfm images
|
|
|
|
|
2007-12-14 19:45:11 +01:00
|
|
|
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
|
2005-09-07 23:08:22 +02:00
|
|
|
|
|
|
|
USE_ZIP= yes
|
2007-12-14 19:45:11 +01:00
|
|
|
USE_GL= glut
|
2005-09-07 23:08:22 +02:00
|
|
|
|
|
|
|
PORTDOCS= README
|
2007-12-14 19:45:11 +01:00
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
2005-09-07 23:08:22 +02:00
|
|
|
|
|
|
|
do-build:
|
2007-12-14 19:45:11 +01:00
|
|
|
cd ${BUILD_WRKSRC} \
|
|
|
|
&& ${CXX} ${CXXFLAGS} -DNDEBUG -I${WRKSRC} \
|
|
|
|
-I${LOCALBASE}/include ${CPPFLAGS} ${PTHREAD_CFLAGS} \
|
|
|
|
${LDFLAGS} -L${LOCALBASE}/lib -lpng -lz -lbz2 -lglut \
|
|
|
|
-lGLU -lGL -lXi -lXmu -lX11 -lXext -lSM -lm ${PTHREAD_LIBS} \
|
|
|
|
-o ${PORTNAME} *.c
|
2005-09-07 23:08:22 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
|
|
|
|
|
|
.ifndef (NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|