summaryrefslogtreecommitdiff
path: root/x11/fox/Makefile
blob: 05437dbfc58ec530644aaef0608e390f86547b33 (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
40
41
# $NetBSD: Makefile,v 1.11 2003/03/09 19:28:16 jschauma Exp $
# FreeBSD Id: ports/x11-toolkits/fox/Makefile,v 1.14 2001/02/23 19:00:05 knu Exp

DISTNAME=	fox-0.99.174
PKGREVISION=	2
CATEGORIES=	x11
MASTER_SITES=	ftp://ftp.cfdrc.com/pub/FOX/ \
		ftp://SunSITE.Informatik.RWTH-Aachen.DE/pub/Linux/fox/

MAINTAINER=	sakamoto@netbsd.org
HOMEPAGE=	http://www.cfdrc.com/FOX/fox.html
COMMENT=	Fast and extensive C++ GUI toolkit

.if !defined(FOX_USE_XUNICODE) || ${FOX_USE_XUNICODE} == "YES"

MASTER_SITES+=	http://www.ab.wakwak.com/~tino/jatk/
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} xunicode-0.3.3${EXTRACT_SUFX}

PATCH_SITES=	http://www.ab.wakwak.com/~tino/jatk/fox/
PATCHFILES=	${DISTNAME:C/-/-unicode-/}.diff
PATCH_DIST_STRIP=-p1

CPPFLAGS+=	-I..
X_CFLAGS=	-DUSE_UNICODE
CONFIGURE_ENV+=	X_CFLAGS="${X_CFLAGS}"

.endif

USE_BUILDLINK2=	# defined
USE_X11BASE=	# defined
USE_LIBTOOL=	# defined
LTCONFIG_OVERRIDE=${WRKSRC}/ltconfig

GNU_CONFIGURE=	# defined
CONFIGURE_ARGS+=--with-opengl=mesa --with-x --with-shm=yes --enable-release

.include "../../graphics/jpeg/buildlink2.mk"
.include "../../graphics/png/buildlink2.mk"
.include "../../graphics/MesaLib/buildlink2.mk"
.include "../../graphics/glu/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"