30b55df38e
MASTER_SITES= site1 \ site2 style continuation lines to be simple repeated MASTER_SITES+= site1 MASTER_SITES+= site2 lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint accordingly.
46 lines
1.4 KiB
Makefile
46 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.84 2017/01/19 18:52:29 agc Exp $
|
|
|
|
DISTNAME= fltk-1.1.10-source
|
|
PKGNAME= ${DISTNAME:S/-source//}
|
|
VERS= ${DISTNAME:S/fltk-//:S/-source//}
|
|
PKGREVISION= 7
|
|
CATEGORIES= x11
|
|
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}/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.fltk.org/
|
|
COMMENT= Fast Light Tool Kit for graphical user interfaces
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/-source//}
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= gmake
|
|
TEST_TARGET= test
|
|
|
|
PTHREAD_OPTS+= require
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --enable-libtool=${LIBTOOL:Q}
|
|
CONFIGURE_ARGS+= --enable-threads
|
|
CONFIGURE_ARGS+= ac_cv_have_overlay=yes
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
PLIST_VARS+= cs # case-sensitive
|
|
.if !exists(./descr) && ${OPSYS} != "Darwin"
|
|
CONFIGURE_ARGS+= --with-links
|
|
PLIST.cs= yes
|
|
.endif
|
|
|
|
BUILDLINK_DEPMETHOD.libXt?= build
|
|
|
|
.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"
|