2002-12-22 19:06:21 +01:00
|
|
|
# $NetBSD: Makefile,v 1.15 2002/12/22 18:06:21 jmmv Exp $
|
2002-03-24 21:29:35 +01:00
|
|
|
#
|
|
|
|
|
2002-10-21 05:02:24 +02:00
|
|
|
DISTNAME= pango-1.0.5
|
2002-12-22 19:06:21 +01:00
|
|
|
PKGREVISION= 1
|
2002-03-24 21:29:35 +01:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v2.0/ \
|
|
|
|
ftp://ftp.cs.umn.edu/pub/gimp/gtk/v2.0/ \
|
2002-10-19 12:54:42 +02:00
|
|
|
${MASTER_SITE_GNOME:=sources/pango/1.0/}
|
2002-03-24 21:29:35 +01:00
|
|
|
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
|
|
HOMEPAGE= http://www.pango.org
|
|
|
|
COMMENT= Library for layout and rendering of text
|
|
|
|
|
2002-09-11 13:42:11 +02:00
|
|
|
USE_BUILDLINK2= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_X11= yes
|
2002-03-24 21:29:35 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2002-09-11 13:42:11 +02:00
|
|
|
|
2002-03-24 21:29:35 +01:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
|
2002-10-30 04:09:25 +01:00
|
|
|
PKGCONFIG_OVERRIDE= ${WRKSRC}/pango.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= ${WRKSRC}/pangoft2.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= ${WRKSRC}/pangox.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= ${WRKSRC}/pangowin32.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= ${WRKSRC}/pangoxft.pc.in
|
2002-03-24 21:29:35 +01:00
|
|
|
|
2002-12-22 19:06:21 +01:00
|
|
|
PKG_SYSCONFSUBDIR= pango
|
|
|
|
EGDIR= ${PREFIX}/share/examples/pango
|
|
|
|
CONF_FILES= ${EGDIR}/pango.modules ${PKG_SYSCONFDIR}/pango.modules
|
|
|
|
CONF_FILES+= ${EGDIR}/pangox.aliases ${PKG_SYSCONFDIR}/pangox.aliases
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
|
|
|
2002-08-16 16:13:41 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2002-07-03 03:29:39 +02:00
|
|
|
# directory appeared in XFree86 4.*
|
|
|
|
# if it is there, we are using XFree86 4.* and will
|
|
|
|
# install some additional files
|
|
|
|
.if exists(${X11BASE}/lib/X11/locale/common)
|
|
|
|
PLIST_SRC= ${PKGDIR}/PLIST.xf4 ${PKGDIR}/PLIST
|
|
|
|
.else
|
|
|
|
PLIST_SRC= ${PKGDIR}/PLIST
|
|
|
|
.endif
|
|
|
|
|
2002-03-24 21:29:35 +01:00
|
|
|
test: build
|
|
|
|
cd ${WRKSRC} && ${MAKE_ENV} ${MAKE_PROGRAM} check 2>&1 | \
|
|
|
|
tee ${WRKDIR}/check.log
|
|
|
|
|
2002-09-11 13:42:11 +02:00
|
|
|
.include "../../devel/glib2/buildlink2.mk"
|
|
|
|
.include "../../devel/pkgconfig/buildlink2.mk"
|
|
|
|
.include "../../graphics/freetype2/buildlink2.mk"
|
|
|
|
|
2002-12-22 19:06:21 +01:00
|
|
|
.include "../../mk/bsd.pkg.install.mk"
|
2002-03-24 21:29:35 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|