48178732cb
* Update MASTER_SITES. Changelog: CHANGES IN FLTK 1.3.2 - Removed unnecessary drawing calls (STR #2898) - Fixed regression in FLTK 1.3.1 for unbundled Mac OS FLTK applications that did not appear in dock nor have a menu bar (STR #2890). - Fl_Table::clear() now calls table->clear() for consistency. (STR #2889) - Fixed Fl_Scroll widget that fails under Mac OS X 10.8 and retina display (STR #2887). - Prevents scrollbars from drawing when widget is sized too small to be visible (STR #2886). - Documented how to make a Mac OS X FLTK application launchable by dropping files on its icon. - Fixed a Mac-specific issue appeared with OS 10.8 (Mountain Lion): long delay before opening when the application is started by dragging a file on the application icon. - Fixed use of PNG image from im-memory data (STR #2884). - Added static Fl_RGB_Image::max_size(size_t) to limit the maximum memory size allowed to RGB images (STR #2881).
72 lines
1.9 KiB
Makefile
72 lines
1.9 KiB
Makefile
# $NetBSD: Makefile,v 1.13 2013/06/09 16:09:35 ryoon Exp $
|
|
|
|
DISTNAME= fltk-1.3.2-source
|
|
PKGNAME= ${DISTNAME:S/-source//}
|
|
VERS= ${DISTNAME:S/fltk-//:S/-source//}
|
|
CATEGORIES= x11
|
|
MASTER_SITES= http://fltk.org/pub/fltk/${VERS}/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.fltk.org/
|
|
COMMENT= Fast Light Tool Kit for graphical user interfaces
|
|
LICENSE= gnu-lgpl-v2
|
|
|
|
CONFLICTS= fltk-1.[012].*
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/-source//}
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= gmake
|
|
TEST_TARGET= test
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.fltk13
|
|
PKG_SUPPORTED_OPTIONS= opengl # cairo
|
|
PKG_SUGGESTED_OPTIONS= opengl # cairo
|
|
#PLIST_VARS+= cairo
|
|
PLIST_VARS+= opengl
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PTHREAD_OPTS+= require
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --enable-libtool=${LIBTOOL:Q}
|
|
CONFIGURE_ARGS+= --enable-threads
|
|
CONFIGURE_ARGS+= ac_cv_have_overlay=yes
|
|
|
|
PLIST_VARS+= cs # case-sensitive
|
|
.if !exists(./descr)
|
|
CONFIGURE_ARGS+= --with-links
|
|
PLIST.cs= yes
|
|
.endif
|
|
|
|
BUILDLINK_DEPMETHOD.libXt?= build
|
|
|
|
#.if !empty(PKG_OPTIONS:Mcairo)
|
|
#. include "../../graphics/cairo/buildlink3.mk"
|
|
#CONFIGURE_ARGS+= --enable-cairo
|
|
#PLIST.cairo= yes
|
|
#.else
|
|
#CONFIGURE_ARGS+= --disable-cairo
|
|
#.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mopengl)
|
|
. include "../../graphics/Mesa/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --enable-gl
|
|
PLIST.opengl= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-gl
|
|
.endif
|
|
|
|
CONFIGURE_ARGS+= --enable-shared
|
|
# Use pkgsrc versions, not package's bundled versions.
|
|
CONFIGURE_ARGS+= --disable-localjpeg --disable-localzlib --disable-localpng
|
|
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
.include "../../graphics/glu/buildlink3.mk"
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
.include "../../x11/libXt/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|