From 13ebfe235a7e6f56ece963b1a9a51f6dc4f5d71f Mon Sep 17 00:00:00 2001 From: ahze Date: Thu, 4 May 2006 18:25:40 +0000 Subject: - Fix plist if WITHOUT_X11 is defined Merged from ports tree git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6214 df743ca5-7f9a-e211-a948-0013205c9059 --- x11-toolkits/pango/Makefile | 7 +++++-- x11-toolkits/pango/pkg-plist | 36 ++++++++++++++++++------------------ 2 files changed, 23 insertions(+), 20 deletions(-) (limited to 'x11-toolkits/pango') diff --git a/x11-toolkits/pango/Makefile b/x11-toolkits/pango/Makefile index 9740d324c..243b27110 100644 --- a/x11-toolkits/pango/Makefile +++ b/x11-toolkits/pango/Makefile @@ -3,7 +3,7 @@ # Whom: Maxim Sobolev # # $FreeBSD$ -# $MCom: ports/x11-toolkits/pango/Makefile,v 1.62 2006/04/30 04:02:32 ahze Exp $ +# $MCom: ports/x11-toolkits/pango/Makefile,v 1.63 2006/04/30 18:30:28 ahze Exp $ # PORTNAME= pango @@ -24,7 +24,7 @@ RUN_DEPENDS= ${FONTSCALE}:${X_FONTS_TTF_PORT} \ USE_BZIP2= yes USE_GETTEXT= yes -USE_X_PREFIX= yes +PREFIX?= ${X11BASE} USE_GMAKE= yes INSTALLS_SHLIB= yes USE_AUTOTOOLS= libtool:15 @@ -50,12 +50,15 @@ CONFIGURE_ARGS+= --with-x=no CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype2 \ ${GLIB2_CFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" +PLIST_SUB+= X11="@comment " .else +USE_XLIB+= yes LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype2 \ ${GLIB2_CFLAGS} -I${LOCALBASE}/include \ -I${X11BASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" +PLIST_SUB+= X11="" .endif post-install: diff --git a/x11-toolkits/pango/pkg-plist b/x11-toolkits/pango/pkg-plist index db01159ed..0fd3095d3 100644 --- a/x11-toolkits/pango/pkg-plist +++ b/x11-toolkits/pango/pkg-plist @@ -1,7 +1,7 @@ bin/pango-querymodules -bin/pango-view +%%X11%%bin/pango-view etc/pango/pango.modules -etc/pango/pangox.aliases +%%X11%%etc/pango/pangox.aliases include/pango-1.0/pango/pango-attributes.h include/pango-1.0/pango/pango-break.h include/pango-1.0/pango/pango-context.h @@ -28,9 +28,9 @@ include/pango-1.0/pango/pangofc-decoder.h include/pango-1.0/pango/pangofc-font.h include/pango-1.0/pango/pangofc-fontmap.h include/pango-1.0/pango/pangoft2.h -include/pango-1.0/pango/pangox.h -include/pango-1.0/pango/pangoxft-render.h -include/pango-1.0/pango/pangoxft.h +%%X11%%include/pango-1.0/pango/pangox.h +%%X11%%include/pango-1.0/pango/pangoxft-render.h +%%X11%%include/pango-1.0/pango/pangoxft.h lib/libpango-1.0.a lib/libpango-1.0.la lib/libpango-1.0.so @@ -43,23 +43,23 @@ lib/libpangoft2-1.0.a lib/libpangoft2-1.0.la lib/libpangoft2-1.0.so lib/libpangoft2-1.0.so.0 -lib/libpangox-1.0.a -lib/libpangox-1.0.la -lib/libpangox-1.0.so -lib/libpangox-1.0.so.0 -lib/libpangoxft-1.0.a -lib/libpangoxft-1.0.la -lib/libpangoxft-1.0.so -lib/libpangoxft-1.0.so.0 +%%X11%%lib/libpangox-1.0.a +%%X11%%lib/libpangox-1.0.la +%%X11%%lib/libpangox-1.0.so +%%X11%%lib/libpangox-1.0.so.0 +%%X11%%lib/libpangoxft-1.0.a +%%X11%%lib/libpangoxft-1.0.la +%%X11%%lib/libpangoxft-1.0.so +%%X11%%lib/libpangoxft-1.0.so.0 lib/pango/%%VERSION%%/modules/pango-arabic-fc.a lib/pango/%%VERSION%%/modules/pango-arabic-fc.la lib/pango/%%VERSION%%/modules/pango-arabic-fc.so lib/pango/%%VERSION%%/modules/pango-basic-fc.a lib/pango/%%VERSION%%/modules/pango-basic-fc.la lib/pango/%%VERSION%%/modules/pango-basic-fc.so -lib/pango/%%VERSION%%/modules/pango-basic-x.a -lib/pango/%%VERSION%%/modules/pango-basic-x.la -lib/pango/%%VERSION%%/modules/pango-basic-x.so +%%X11%%lib/pango/%%VERSION%%/modules/pango-basic-x.a +%%X11%%lib/pango/%%VERSION%%/modules/pango-basic-x.la +%%X11%%lib/pango/%%VERSION%%/modules/pango-basic-x.so lib/pango/%%VERSION%%/modules/pango-hangul-fc.a lib/pango/%%VERSION%%/modules/pango-hangul-fc.la lib/pango/%%VERSION%%/modules/pango-hangul-fc.so @@ -84,8 +84,8 @@ lib/pango/%%VERSION%%/modules/pango-tibetan-fc.so libdata/pkgconfig/pango.pc libdata/pkgconfig/pangocairo.pc libdata/pkgconfig/pangoft2.pc -libdata/pkgconfig/pangox.pc -libdata/pkgconfig/pangoxft.pc +%%X11%%libdata/pkgconfig/pangox.pc +%%X11%%libdata/pkgconfig/pangoxft.pc %%DOCSDIR%%/PangoEngineLang.html %%DOCSDIR%%/PangoEngineShape.html %%DOCSDIR%%/PangoFcDecoder.html -- cgit v1.2.3