blob: e168cbdfff6442999ee93537ac378757b3791225 (
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
42
|
# $NetBSD: Makefile,v 1.28 2005/07/16 19:10:41 jlam Exp $
#
DISTNAME= gdkxft-1.5
PKGREVISION= 8
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gdkxft/}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://gdkxft.sourceforge.net/
COMMENT= Transparently add anti-aliased font support to gtk+ applications
.include "../../mk/bsd.prefs.mk"
.if !exists(${X11BASE}/lib/libXft.a)
PKG_FAIL_REASON= "${PKGNAME} requires XFree86-4.0 or higher"
.endif
USE_DIRS+= xdg-1.1
USE_X11BASE= YES
USE_LIBTOOL= YES
USE_TOOLS+= perl:run
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --enable-static
CPPFLAGS+= -I${LOCALBASE}/include/libcapplet1
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gdkxft
.for doc in AUTHORS COPYING ChangeLog INSTALL NEWS README
${INSTALL_DATA} ${WRKSRC}/${doc} ${PREFIX}/share/doc/gdkxft
.endfor
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/libglade/buildlink3.mk"
.include "../../fonts/Xft2/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../x11/control-center/buildlink3.mk"
.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|