2017-01-19 19:52:01 +01:00
|
|
|
# $NetBSD: Makefile,v 1.84 2017/01/19 18:52:29 agc Exp $
|
1999-05-06 09:23:28 +02:00
|
|
|
|
2010-04-09 15:35:41 +02:00
|
|
|
DISTNAME= fltk-1.1.10-source
|
2002-11-25 19:58:36 +01:00
|
|
|
PKGNAME= ${DISTNAME:S/-source//}
|
|
|
|
VERS= ${DISTNAME:S/fltk-//:S/-source//}
|
2015-04-25 16:24:44 +02:00
|
|
|
PKGREVISION= 7
|
1999-05-06 09:23:28 +02:00
|
|
|
CATEGORIES= x11
|
2017-01-19 19:52:01 +01:00
|
|
|
MASTER_SITES= http://ftp.easysw.com/pub/fltk/${VERS}/
|
|
|
|
MASTER_SITES+= ftp://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/fltk/${VERS}/
|
|
|
|
MASTER_SITES+= ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/fltk/${VERS}/
|
1999-10-31 04:00:34 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
1999-05-06 09:23:28 +02:00
|
|
|
|
2006-03-14 17:00:40 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
1999-10-31 04:00:34 +01:00
|
|
|
HOMEPAGE= http://www.fltk.org/
|
2001-05-17 10:32:13 +02:00
|
|
|
COMMENT= Fast Light Tool Kit for graphical user interfaces
|
1999-05-06 09:23:28 +02:00
|
|
|
|
2004-01-20 13:28:26 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/-source//}
|
2004-02-02 14:02:49 +01:00
|
|
|
USE_LANGUAGES= c c++
|
2004-02-18 11:21:15 +01:00
|
|
|
USE_LIBTOOL= yes
|
2008-11-10 20:03:15 +01:00
|
|
|
USE_TOOLS+= gmake
|
2003-02-17 16:27:58 +01:00
|
|
|
TEST_TARGET= test
|
2000-08-04 05:38:12 +02:00
|
|
|
|
2005-06-14 13:22:16 +02:00
|
|
|
PTHREAD_OPTS+= require
|
2004-02-18 11:21:15 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-libtool=${LIBTOOL:Q}
|
2006-05-22 00:16:54 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-threads
|
2007-01-02 13:42:45 +01:00
|
|
|
CONFIGURE_ARGS+= ac_cv_have_overlay=yes
|
2008-04-13 00:42:57 +02:00
|
|
|
|
2013-12-12 09:47:24 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST_VARS+= cs # case-sensitive
|
2013-12-11 16:45:33 +01:00
|
|
|
.if !exists(./descr) && ${OPSYS} != "Darwin"
|
2005-06-15 04:24:40 +02:00
|
|
|
CONFIGURE_ARGS+= --with-links
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST.cs= yes
|
2006-03-22 20:31:14 +01:00
|
|
|
.endif
|
2001-05-26 08:37:45 +02:00
|
|
|
|
2007-03-16 22:40:33 +01:00
|
|
|
BUILDLINK_DEPMETHOD.libXt?= build
|
|
|
|
|
2004-02-18 11:21:15 +01:00
|
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
|
|
.include "../../graphics/glu/buildlink3.mk"
|
2010-12-23 12:44:24 +01:00
|
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
2004-05-21 04:16:48 +02:00
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
2007-01-02 13:42:45 +01:00
|
|
|
.include "../../x11/libXext/buildlink3.mk"
|
2007-03-16 22:40:33 +01:00
|
|
|
.include "../../x11/libXt/buildlink3.mk"
|
2005-06-14 13:22:16 +02:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
1999-05-06 09:23:28 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|