2004-02-14 18:21:49 +01:00
|
|
|
# $NetBSD: Makefile,v 1.18 2004/02/14 17:21:55 jlam Exp $
|
2001-09-04 11:01:25 +02:00
|
|
|
#
|
|
|
|
|
2002-03-22 23:06:36 +01:00
|
|
|
DISTNAME= gdkxft-1.5
|
2004-01-03 19:49:33 +01:00
|
|
|
PKGREVISION= 5
|
2001-09-04 11:01:25 +02:00
|
|
|
CATEGORIES= x11
|
2002-05-12 12:16:44 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gdkxft/}
|
2001-09-04 11:01:25 +02:00
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2002-03-22 23:06:36 +01:00
|
|
|
HOMEPAGE= http://gdkxft.sourceforge.net/
|
2003-07-21 19:38:24 +02:00
|
|
|
COMMENT= Transparently add anti-aliased font support to gtk+ applications
|
2001-09-04 11:01:25 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if !exists(${X11BASE}/lib/libXft.a)
|
2002-12-07 03:38:52 +01:00
|
|
|
PKG_FAIL_REASON= "${PKGNAME} requires XFree86-4.0 or higher"
|
2001-09-04 11:01:25 +02:00
|
|
|
.endif
|
|
|
|
|
2002-09-24 00:41:56 +02:00
|
|
|
USE_BUILDLINK2= YES
|
2002-03-22 23:06:36 +01:00
|
|
|
USE_X11BASE= YES
|
2002-09-24 00:41:56 +02:00
|
|
|
USE_LIBTOOL= YES
|
2001-09-04 11:01:25 +02:00
|
|
|
|
2002-09-24 00:41:56 +02:00
|
|
|
GNU_CONFIGURE= YES
|
2002-03-22 23:06:36 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-static
|
|
|
|
|
2001-09-04 11:01:25 +02:00
|
|
|
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
|
|
|
|
|
2002-09-24 00:41:56 +02:00
|
|
|
.include "../../converters/libiconv/buildlink2.mk"
|
|
|
|
.include "../../devel/libglade/buildlink2.mk"
|
2003-10-30 13:29:30 +01:00
|
|
|
.include "../../graphics/freetype2/buildlink2.mk"
|
2002-09-24 00:41:56 +02:00
|
|
|
.include "../../lang/perl5/buildlink2.mk"
|
|
|
|
.include "../../x11/controlcenter/buildlink2.mk"
|
|
|
|
.include "../../x11/gtk/buildlink2.mk"
|
|
|
|
|
2001-09-04 11:01:25 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|