summaryrefslogtreecommitdiff
path: root/x11-toolkits/libxaw3dxft/Makefile
blob: 46461168d5c5739e740f6ffcde3e9f1c2eb5c1cc (plain) (blame)
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
# $FreeBSD$

PORTNAME=	libxaw3dxft
DISTVERSION=	1.6.2b
CATEGORIES=	x11-toolkits
MASTER_SITES=	SF/sf-xpaint/${PORTNAME}
DISTNAME=	libXaw3dXft-${DISTVERSION}

MAINTAINER=	johans@FreeBSD.org
COMMENT=	3D Xaw (Athena Widget Set) replacement with extended fonts

LIB_DEPENDS=	freetype:${PORTSDIR}/print/freetype2

USES=		pkgconfig
USE_BZIP2=	yes
GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
USE_XORG=	xft xmu xpm

CONFIGURE_ARGS+=--enable-internationalization --enable-arrow-scrollbars
CPPFLAGS+=	-I${LOCALBASE}/include/freetype2

DOCSDIR=	${LOCALBASE}/share/doc/libXaw3dXft
PORTDOCS=	*

post-patch:
	@${REINPLACE_CMD} '/^pkgconfigdir/s:=.*:= ${PREFIX}/libdata/pkgconfig:'\
		${WRKSRC}/Makefile.in
	@${REINPLACE_CMD} '/^typedef.*Pixel;/d' ${WRKSRC}/src/Xaw3dXft.c

.include <bsd.port.mk>