aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/OpenEXR
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2003-03-25 00:25:36 +0800
committernork <nork@FreeBSD.org>2003-03-25 00:25:36 +0800
commit41bb73d507f59686505b7253d7846edd47114fae (patch)
tree0c6b4ebe7f463594fbc997734c0f03acb1e430ca /graphics/OpenEXR
parentffc299d0f96f6fcc684ab8f8e24f423e0fb59155 (diff)
downloadfreebsd-ports-gnome-41bb73d507f59686505b7253d7846edd47114fae.tar.gz
freebsd-ports-gnome-41bb73d507f59686505b7253d7846edd47114fae.tar.zst
freebsd-ports-gnome-41bb73d507f59686505b7253d7846edd47114fae.zip
Fix pkg-plist.
Diffstat (limited to 'graphics/OpenEXR')
-rw-r--r--graphics/OpenEXR/Makefile6
-rw-r--r--graphics/OpenEXR/files/patch-IlmImfExamples::Makeilfe.in11
-rw-r--r--graphics/OpenEXR/pkg-plist10
3 files changed, 25 insertions, 2 deletions
diff --git a/graphics/OpenEXR/Makefile b/graphics/OpenEXR/Makefile
index 8b089188fd7a..f6668500a2f2 100644
--- a/graphics/OpenEXR/Makefile
+++ b/graphics/OpenEXR/Makefile
@@ -7,7 +7,7 @@
PORTNAME= OpenEXR
PORTVERSION= 1.0.5
-#PORTREVISION= 1
+PORTREVISION= 1
CATEGORIES= graphics devel
MASTER_SITES= http://savannah.nongnu.org/download/openexr/${PORTNAME}.pkg/${PORTVERSION}/
@@ -19,6 +19,8 @@ USE_LIBTOOL= YES
GNU_CONFIGURE= YES
INSTALLS_SHLIB= YES
+EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}-${PORTVERSION}
+
.include <bsd.port.pre.mk>
.if defined(USE_GCC) && ${USE_GCC} == 3.1+ && ${OSVERSION} < 500035
@@ -46,7 +48,7 @@ pre-everything::
@${ECHO_CMD} ===================================================
.endif
.else
-CONFIGURE_ARGS+=--with-fltk-config=/usr/bin/false --without-x
+CONFIGURE_ARGS+=--with-fltk-config=${FALSE} --without-x
PLIST_SUB+= WITH_FLTK="@comment "
.endif
diff --git a/graphics/OpenEXR/files/patch-IlmImfExamples::Makeilfe.in b/graphics/OpenEXR/files/patch-IlmImfExamples::Makeilfe.in
new file mode 100644
index 000000000000..4d8dc311f0ba
--- /dev/null
+++ b/graphics/OpenEXR/files/patch-IlmImfExamples::Makeilfe.in
@@ -0,0 +1,11 @@
+--- IlmImfExamples/Makefile.in.orig Sun Mar 23 20:08:09 2003
++++ IlmImfExamples/Makefile.in Tue Mar 25 01:06:30 2003
+@@ -109,7 +109,7 @@
+ rgbaInterfaceExamples.h generalInterfaceExamples.h
+
+
+-examplesdir = $(datadir)/doc/OpenEXR-@OPENEXR_VERSION@/examples
++examplesdir = $(datadir)/examples/OpenEXR-@OPENEXR_VERSION@
+ examples_DATA = $(imfexamples_SOURCES)
+
+ imfexamplesdir = $(examplesdir)
diff --git a/graphics/OpenEXR/pkg-plist b/graphics/OpenEXR/pkg-plist
index 022e4f0ddfd9..363757cb9e81 100644
--- a/graphics/OpenEXR/pkg-plist
+++ b/graphics/OpenEXR/pkg-plist
@@ -1,3 +1,4 @@
+bin/exrheader
%%WITH_FLTK%%bin/exrdisplay
lib/libHalf.a
lib/libHalf.la
@@ -83,5 +84,14 @@ include/OpenEXR/half.h
include/OpenEXR/halfFunction.h
include/OpenEXR/halfLimits.h
libdata/pkgconfig/OpenEXR.pc
+share/aclocal/openexr.m4
+%%EXAMPLESDIR%%/drawImage.cpp
+%%EXAMPLESDIR%%/drawImage.h
+%%EXAMPLESDIR%%/generalInterfaceExamples.cpp
+%%EXAMPLESDIR%%/generalInterfaceExamples.h
+%%EXAMPLESDIR%%/main.cpp
+%%EXAMPLESDIR%%/rgbaInterfaceExamples.cpp
+%%EXAMPLESDIR%%/rgbaInterfaceExamples.h
@unexec rmdir %D/libdata/pkgconfig 2>/dev/null || true
@dirrm include/OpenEXR
+@dirrm %%EXAMPLESDIR%%