mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Update to 1.02
PR: 118593 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
parent
c669f701fe
commit
18c62a92d5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=203597
3 changed files with 13 additions and 33 deletions
|
@ -6,8 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= fv
|
||||
PORTVERSION= 1.01
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 1.02
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= http://www.eaflux.com/fv/sources/
|
||||
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
|
||||
|
@ -15,25 +14,21 @@ DISTNAME= ${PORTNAME}-src-${PORTVERSION}
|
|||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A viewer of hdr/pfm images
|
||||
|
||||
LIB_DEPENDS= glut.4:${PORTSDIR}/graphics/libglut \
|
||||
png.5:${PORTSDIR}/graphics/png
|
||||
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
|
||||
|
||||
USE_ZIP= yes
|
||||
USE_GCC= 3.3+
|
||||
USE_GETOPT_LONG=yes
|
||||
USE_GL= yes
|
||||
USE_X_PREFIX= yes
|
||||
USE_GL= glut
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
PORTDOCS= README
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
|
||||
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
|
||||
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
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
MD5 (fv-src-1.01.zip) = 0ad6b8fda55f22dc1d0dc21c8fe6ae57
|
||||
SHA256 (fv-src-1.01.zip) = fa5de1af4d207abb24b0235ed0f8237cacfae100d52560ffd4f938c6084c48e7
|
||||
SIZE (fv-src-1.01.zip) = 41089
|
||||
MD5 (fv-src-1.02.zip) = e84ece1b1af1ec085966c02f829c67a9
|
||||
SHA256 (fv-src-1.02.zip) = 698b0423df4372390572d0cb2c4355999425f95e2fe6939f16998c4e7a1f9f58
|
||||
SIZE (fv-src-1.02.zip) = 42169
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
--- common.h.orig
|
||||
+++ common.h
|
||||
@@ -38,7 +38,12 @@
|
||||
#include <fcntl.h>
|
||||
#include <map>
|
||||
#include <pthread.h>
|
||||
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
|
||||
+#include <sys/param.h>
|
||||
+#endif
|
||||
+#ifndef BSD
|
||||
#include <stdint.h>
|
||||
+#endif
|
||||
#include <string>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/time.h>
|
Loading…
Add table
Reference in a new issue