summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/xforms/Makefile
blob: 2f0ec94ccc15db9e4a3446380414efe90f34decd (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
# Created by: gena
# $FreeBSD$

PORTNAME=	xforms
DISTVERSION=	1.2.4
PORTREVISION=	3
PORTEPOCH=	1
CATEGORIES=	x11-toolkits graphics
MASTER_SITES=	SAVANNAH

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Graphical user interface toolkit for X Window System

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/COPYING.LIB

LIB_DEPENDS=	libtiff.so:${PORTSDIR}/graphics/tiff

USES=		jpeg libtool
USE_XORG=	xpm
USE_GL=		gl
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
CFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
INSTALL_TARGET=	install-strip

post-patch:
	${REINPLACE_CMD} 's|#define fl_draw_box|#define fl_drw_box|'	\
		${WRKSRC}/lib/include/Basic.h

BROKEN_ia64=	Does not compile on ia64

.include <bsd.port.mk>
OpenPOWER on IntegriCloud