2007-02-22 20:26:05 +01:00
|
|
|
# $NetBSD: Makefile,v 1.62 2007/02/22 19:27:26 wiz Exp $
|
1999-05-06 09:23:28 +02:00
|
|
|
|
2006-01-22 12:11:34 +01:00
|
|
|
DISTNAME= fltk-1.1.7-source
|
2002-11-25 19:58:36 +01:00
|
|
|
PKGNAME= ${DISTNAME:S/-source//}
|
|
|
|
VERS= ${DISTNAME:S/fltk-//:S/-source//}
|
2006-06-01 15:14:18 +02:00
|
|
|
PKGREVISION= 4
|
1999-05-06 09:23:28 +02:00
|
|
|
CATEGORIES= x11
|
2003-02-28 12:57:06 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fltk/} \
|
1999-10-31 04:00:34 +01:00
|
|
|
ftp://ftp2.easysw.com/pub/fltk/${VERS}/ \
|
2006-01-22 12:11:34 +01:00
|
|
|
ftp://ftp3.easysw.com/pub/fltk/${VERS}/ \
|
|
|
|
http://ftp.easysw.com/pub/fltk/${VERS}/ \
|
|
|
|
http://mirror.nu6.org/ftp.easysw.com/pub/fltk/${VERS}/ \
|
|
|
|
ftp://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/fltk/${VERS}/ \
|
|
|
|
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
|
|
|
|
2007-01-02 13:42:45 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
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++
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2004-02-18 11:21:15 +01:00
|
|
|
USE_LIBTOOL= yes
|
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
|
2006-03-22 20:31:14 +01:00
|
|
|
.if exists(./descr)
|
2007-02-22 20:26:05 +01:00
|
|
|
PLIST_SUBST+= WITH_LINKS="@comment "
|
2006-03-22 20:31:14 +01:00
|
|
|
.else
|
2005-06-15 04:24:40 +02:00
|
|
|
CONFIGURE_ARGS+= --with-links
|
2007-02-22 20:26:05 +01:00
|
|
|
PLIST_SUBST+= WITH_LINKS=""
|
2006-03-22 20:31:14 +01:00
|
|
|
.endif
|
2001-05-26 08:37:45 +02:00
|
|
|
|
2004-02-18 11:21:15 +01:00
|
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
|
|
.include "../../graphics/glu/buildlink3.mk"
|
2004-05-21 04:16:48 +02:00
|
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
2007-01-02 13:42:45 +01:00
|
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
|
|
.include "../../x11/xextproto/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"
|