aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2014-07-11 17:20:38 +0800
committergahr <gahr@FreeBSD.org>2014-07-11 17:20:38 +0800
commit091ac69561c4929d71dfd1b129af618873c5e003 (patch)
tree52152f38c59cde80f98eb6aac219243e61ea7564
parentd61ba536a85eda550c8435d6481adbaf00de04de (diff)
downloadfreebsd-ports-gnome-091ac69561c4929d71dfd1b129af618873c5e003.tar.gz
freebsd-ports-gnome-091ac69561c4929d71dfd1b129af618873c5e003.tar.zst
freebsd-ports-gnome-091ac69561c4929d71dfd1b129af618873c5e003.zip
- Update to snapshot 10218
Changelog: * http://www.fltk.org/articles.php?L1377 - Use new OPTIONS switches - alsa-lib is not required
-rw-r--r--x11-toolkits/fltk-devel/Makefile13
-rw-r--r--x11-toolkits/fltk-devel/distinfo4
2 files changed, 4 insertions, 13 deletions
diff --git a/x11-toolkits/fltk-devel/Makefile b/x11-toolkits/fltk-devel/Makefile
index d746af99d1a0..c2f857ec28ac 100644
--- a/x11-toolkits/fltk-devel/Makefile
+++ b/x11-toolkits/fltk-devel/Makefile
@@ -18,6 +18,7 @@ LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \
libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
OPTIONS_DEFINE= EXAMPLES
+EXAMPLES_CMAKE_OFF= -DOPTION_BUILD_EXAMPLES:BOOL=OFF
USE_XORG= xft
USE_GL= glu
@@ -30,22 +31,12 @@ CMAKE_ARGS+= -DOPTION_BUILD_SHARED_LIBS:BOOL=ON \
-DOPTION_PREFIX_INCLUDE:PATH=${PREFIX}/include/fltk-devel \
-DOPTION_PREFIX_LIB:PATH=${PREFIX}/lib/fltk-devel
-SNAPSHOT_VERS= 10217
+SNAPSHOT_VERS= 10218
PORTEXAMPLES= *
EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}${PKGNAMESUFFIX}
PORTSCOUT= limit:1.3.*
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MEXAMPLES}
-CMAKE_ARGS+= -DOPTION_BUILD_EXAMPLES:BOOL=ON
-LIB_DEPENDS+= libasound.so:${PORTSDIR}/audio/alsa-lib
-LDFLAGS+= -L${LOCALBASE}/lib
-.else
-CMAKE_ARGS+= -DOPTION_BUILD_EXAMPLES:BOOL=OFF
-.endif
-
post-install:
${LN} -sf fltk-devel/libfltk.so ${STAGEDIR}${PREFIX}/lib/libfltk-devel.so
diff --git a/x11-toolkits/fltk-devel/distinfo b/x11-toolkits/fltk-devel/distinfo
index 611264b8d2b4..b217157b8c7d 100644
--- a/x11-toolkits/fltk-devel/distinfo
+++ b/x11-toolkits/fltk-devel/distinfo
@@ -1,2 +1,2 @@
-SHA256 (fltk-1.3.x-r10217.tar.gz) = e8bdba62d29fa162133c42ceff5edc3b6e7dfab6ef159ccf6eb4fa7c6f4d2f59
-SIZE (fltk-1.3.x-r10217.tar.gz) = 4916818
+SHA256 (fltk-1.3.x-r10218.tar.gz) = cd34feb8f79d647bf79b04324a07e247793636bd003e5fa409fdc306fec3821f
+SIZE (fltk-1.3.x-r10218.tar.gz) = 4917819