2013-03-08 11:51:34 +01:00
|
|
|
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
|
2000-07-18 10:46:04 +02:00
|
|
|
# $FreeBSD$
|
2014-11-19 12:49:04 +01:00
|
|
|
# $MCom: ports/trunk/x11-toolkits/pango/Makefile 19945 2014-10-15 05:41:04Z gusi $
|
2000-07-18 10:46:04 +02:00
|
|
|
|
|
|
|
PORTNAME= pango
|
2014-11-19 12:49:04 +01:00
|
|
|
PORTVERSION= 1.36.8
|
|
|
|
PORTREVISION?= 0
|
2000-07-18 10:46:04 +02:00
|
|
|
CATEGORIES= x11-toolkits
|
2013-03-08 11:51:34 +01:00
|
|
|
MASTER_SITES= GNOME
|
2002-02-12 10:01:09 +01:00
|
|
|
DIST_SUBDIR= gnome2
|
2000-07-18 10:46:04 +02:00
|
|
|
|
2001-05-11 18:36:50 +02:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2014-03-08 08:42:15 +01:00
|
|
|
COMMENT= Open-source framework for the layout and rendering of i18n text
|
2000-07-18 10:46:04 +02:00
|
|
|
|
2014-03-15 14:16:57 +01:00
|
|
|
USES= tar:xz
|
2006-05-10 00:46:08 +02:00
|
|
|
|
|
|
|
.if !defined(REFERENCE_PORT)
|
|
|
|
|
2014-11-19 12:49:04 +01:00
|
|
|
BUILD_DEPENDS= fontconfig>=2.10.91:${PORTSDIR}/x11-fonts/fontconfig \
|
|
|
|
cairo>=1.12.10,2:${PORTSDIR}/graphics/cairo
|
2014-03-08 08:42:15 +01:00
|
|
|
LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \
|
|
|
|
libharfbuzz.so:${PORTSDIR}/print/harfbuzz \
|
|
|
|
libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
|
2013-07-08 13:42:01 +02:00
|
|
|
RUN_DEPENDS= ${FONTSCALE}:${PORTSDIR}/x11-fonts/xorg-fonts-truetype \
|
2013-07-31 13:57:45 +02:00
|
|
|
${FONTENCOD}:${PORTSDIR}/x11-fonts/encodings
|
2000-07-18 10:46:04 +02:00
|
|
|
|
2014-11-19 12:49:04 +01:00
|
|
|
USES+= gettext gmake libtool pathfix pkgconfig
|
2006-10-14 10:35:50 +02:00
|
|
|
USE_LDCONFIG= yes
|
2014-03-08 08:42:15 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2014-11-19 12:49:04 +01:00
|
|
|
USE_GNOME= cairo glib20 introspection:build referencehack
|
2013-03-08 11:51:34 +01:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2014-06-05 21:15:05 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2013-03-08 11:51:34 +01:00
|
|
|
|
2014-11-19 12:49:04 +01:00
|
|
|
VERSION= 1.8.0
|
|
|
|
LIBVERSION= 0.3600.8
|
|
|
|
PLIST_SUB+= VERSION=${VERSION} LIBVERSION=${LIBVERSION}
|
2000-07-18 10:46:04 +02:00
|
|
|
|
2007-10-25 01:37:25 +02:00
|
|
|
FONTSCALE= ${LOCALBASE}/lib/X11/fonts/TTF/luximb.ttf
|
|
|
|
FONTENCOD= ${LOCALBASE}/lib/X11/fonts/encodings/encodings.dir
|
2003-04-04 18:13:22 +02:00
|
|
|
|
2013-03-08 11:51:34 +01:00
|
|
|
OPTIONS_DEFINE= X11
|
|
|
|
OPTIONS_DEFAULT=X11
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MX11}
|
2013-07-31 13:57:45 +02:00
|
|
|
USE_XORG+= xft xrender
|
2014-03-08 08:42:15 +01:00
|
|
|
#CONFIGURE_ARGS+=--with-xft
|
2013-07-31 13:57:45 +02:00
|
|
|
PLIST_SUB+= X11=""
|
2013-03-08 11:51:34 +01:00
|
|
|
.else
|
2013-07-31 13:57:45 +02:00
|
|
|
CONFIGURE_ARGS+=--without-xft
|
|
|
|
PLIST_SUB+= X11="@comment "
|
2006-03-15 06:49:53 +01:00
|
|
|
.endif
|
|
|
|
|
2013-03-19 17:27:59 +01:00
|
|
|
pre-configure:
|
|
|
|
.if !exists(${LOCALBASE}/libdata/pkgconfig/cairo-gobject.pc)
|
|
|
|
@${ECHO_CMD} "${PKGNAME}: Needs cairo with GLIB (GObject) support enabled."
|
|
|
|
@${FALSE}
|
|
|
|
.endif
|
|
|
|
|
2014-11-19 12:49:04 +01:00
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/pango/
|
|
|
|
|
2013-03-08 11:51:34 +01:00
|
|
|
.include <bsd.port.mk>
|
2006-05-10 00:46:08 +02:00
|
|
|
|
|
|
|
.endif
|