summaryrefslogtreecommitdiff
path: root/x11/fltk/Makefile
blob: 81132fe4f6d6419edc06d5989984b4d050be78b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# $NetBSD: Makefile,v 1.16 2001/06/10 00:08:49 jlam Exp $
#

DISTNAME=	${PKGNAME}-source
PKGNAME=	fltk-1.0.11
VERS=		${PKGNAME:S/fltk-//}
WRKSRC=		${WRKDIR}/${PKGNAME}
CATEGORIES=	x11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=FLTK/} \
		ftp://ftp.fltk.org/pub/fltk/${VERS}/ \
		ftp://ftp2.easysw.com/pub/fltk/${VERS}/ \
		ftp://ftp.northamerica.net/pub/ESP/fltk/${VERS}/ \
		ftp://ftp.funet.fi/mirrors/ftp.easysw.com/pub/fltk/${VERS}/ \
		ftp://ftp.kddlabs.co.jp/pub/lang/fltk/${VERS}/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	jlam@netbsd.org
HOMEPAGE=	http://www.fltk.org/
COMMENT=	Fast Light Tool Kit for graphical user interfaces

USE_X11BASE=	# defined
USE_MESA=	# defined
USE_GMAKE=	# defined
USE_LIBTOOL=	# defined

GNU_CONFIGURE=	# defined
CONFIGURE_ARGS=	--enable-libtool=${LIBTOOL}
CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}"

.include "../../graphics/Mesa/buildlink.mk"

CPPFLAGS+=	-I${BUILDLINK_INCDIR}
LDFLAGS+=	-L${BUILDLINK_LIBDIR}

test:
	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV}				\
		${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} test

.include "../../mk/bsd.pkg.mk"