pkgsrc/devel/pango/Makefile

56 lines
1.5 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.15 2002/12/22 18:06:21 jmmv Exp $
#
DISTNAME= pango-1.0.5
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v2.0/ \
ftp://ftp.cs.umn.edu/pub/gimp/gtk/v2.0/ \
${MASTER_SITE_GNOME:=sources/pango/1.0/}
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
GNU_CONFIGURE= yes
2002-09-11 13:42:11 +02:00
USE_LIBTOOL= yes
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
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
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}
.include "../../mk/bsd.prefs.mk"
# 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
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"
.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"