diff options
author | miwi <miwi@FreeBSD.org> | 2007-12-15 02:45:11 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-12-15 02:45:11 +0800 |
commit | b716133ae6990c6fce50223e3b4c8d8262ed266e (patch) | |
tree | ef9486973ddeb29e450ee1f0dc2593dce3094bf4 /graphics | |
parent | 5dbd071388e41331e34dff2e84dd7b3414902cd5 (diff) | |
download | freebsd-ports-gnome-b716133ae6990c6fce50223e3b4c8d8262ed266e.tar.gz freebsd-ports-gnome-b716133ae6990c6fce50223e3b4c8d8262ed266e.tar.zst freebsd-ports-gnome-b716133ae6990c6fce50223e3b4c8d8262ed266e.zip |
- Update to 1.02
PR: 118593
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/fv/Makefile | 25 | ||||
-rw-r--r-- | graphics/fv/distinfo | 6 | ||||
-rw-r--r-- | graphics/fv/files/patch-common.h | 15 |
3 files changed, 13 insertions, 33 deletions
diff --git a/graphics/fv/Makefile b/graphics/fv/Makefile index 350fd416f955..fd8ab4d7e78c 100644 --- a/graphics/fv/Makefile +++ b/graphics/fv/Makefile @@ -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 diff --git a/graphics/fv/distinfo b/graphics/fv/distinfo index 00e301d2b239..924a07082964 100644 --- a/graphics/fv/distinfo +++ b/graphics/fv/distinfo @@ -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 diff --git a/graphics/fv/files/patch-common.h b/graphics/fv/files/patch-common.h deleted file mode 100644 index 8dc6c8e4fe30..000000000000 --- a/graphics/fv/files/patch-common.h +++ /dev/null @@ -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> |