diff options
author | kwm <kwm@FreeBSD.org> | 2014-03-08 15:42:15 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2014-03-08 15:42:15 +0800 |
commit | aafbe9a8cbbd0460495ad4acec9f90872fa27ef2 (patch) | |
tree | 04787c3630ed67b3fe702115e7e83d25861fdd1b | |
parent | 6759b3ddc579c046641be10df03311f42f435e31 (diff) | |
download | freebsd-ports-gnome-aafbe9a8cbbd0460495ad4acec9f90872fa27ef2.tar.gz freebsd-ports-gnome-aafbe9a8cbbd0460495ad4acec9f90872fa27ef2.tar.zst freebsd-ports-gnome-aafbe9a8cbbd0460495ad4acec9f90872fa27ef2.zip |
Stagify
Use new lib_depend syntax.
Switch to USES=libtool
Other ports may install pango modules, deal with the fact that
etc/pango/pango.modules might have changed since install.
Requested by: miwi
Obtained from: GNOME dev repo.
-rw-r--r-- | x11-toolkits/pango/Makefile | 27 | ||||
-rw-r--r-- | x11-toolkits/pango/pkg-plist | 16 |
2 files changed, 22 insertions, 21 deletions
diff --git a/x11-toolkits/pango/Makefile b/x11-toolkits/pango/Makefile index bce0e013571e..f090a219d5cb 100644 --- a/x11-toolkits/pango/Makefile +++ b/x11-toolkits/pango/Makefile @@ -1,6 +1,6 @@ # Created by: Maxim Sobolev <sobomax@FreeBSD.org> # $FreeBSD$ -# $MCom: ports/trunk/x11-toolkits/pango/Makefile 18610 2013-06-30 16:33:05Z marcus $ +# $MCom: ports/trunk/x11-toolkits/pango/Makefile 19012 2014-03-08 07:21:34Z kwm $ PORTNAME= pango PORTVERSION= 1.34.1 @@ -10,24 +10,23 @@ MASTER_SITES= GNOME DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org -COMMENT= An open-source framework for the layout and rendering of i18n text +COMMENT= Open-source framework for the layout and rendering of i18n text USE_XZ= yes .if !defined(REFERENCE_PORT) BUILD_DEPENDS= fontconfig>=2.10.91:${PORTSDIR}/x11-fonts/fontconfig -LIB_DEPENDS= cairo:${PORTSDIR}/graphics/cairo \ - freetype:${PORTSDIR}/print/freetype2 \ - harfbuzz:${PORTSDIR}/print/harfbuzz \ - fontconfig:${PORTSDIR}/x11-fonts/fontconfig +LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \ + libharfbuzz.so:${PORTSDIR}/print/harfbuzz \ + libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig RUN_DEPENDS= ${FONTSCALE}:${PORTSDIR}/x11-fonts/xorg-fonts-truetype \ ${FONTENCOD}:${PORTSDIR}/x11-fonts/encodings -USES= gettext gmake pathfix pkgconfig +USES= gettext gmake libtool pathfix pkgconfig USE_LDCONFIG= yes -USE_AUTOTOOLS= libtool -USE_GNOME= glib20 gnomehier ltverhack referencehack introspection:build +GNU_CONFIGURE= yes +USE_GNOME= cairo glib20 introspection:build referencehack CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib @@ -36,17 +35,14 @@ PLIST_SUB= VERSION="1.8.0" FONTSCALE= ${LOCALBASE}/lib/X11/fonts/TTF/luximb.ttf FONTENCOD= ${LOCALBASE}/lib/X11/fonts/encodings/encodings.dir -MAN1= pango-view.1 pango-querymodules.1 - OPTIONS_DEFINE= X11 OPTIONS_DEFAULT=X11 -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MX11} USE_XORG+= xft xrender -#CONFIGURE_ARGS=--with-xft +#CONFIGURE_ARGS+=--with-xft PLIST_SUB+= X11="" .else CONFIGURE_ARGS+=--without-xft @@ -59,6 +55,11 @@ pre-configure: @${FALSE} .endif +post-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/pango/ + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpango*-1.0.so.0 + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pango/*/modules/pango-*.so + .include <bsd.port.mk> .endif diff --git a/x11-toolkits/pango/pkg-plist b/x11-toolkits/pango/pkg-plist index e730be6d07b6..2ed6dcfd8dc7 100644 --- a/x11-toolkits/pango/pkg-plist +++ b/x11-toolkits/pango/pkg-plist @@ -1,6 +1,6 @@ +@unexec /bin/rm %D/etc/pango/pango.modules bin/pango-querymodules bin/pango-view -etc/pango/pango.modules include/pango-1.0/pango/pango-attributes.h include/pango-1.0/pango/pango-bidi-type.h include/pango-1.0/pango/pango-break.h @@ -38,35 +38,34 @@ lib/girepository-1.0/Pango-1.0.typelib lib/girepository-1.0/PangoCairo-1.0.typelib lib/girepository-1.0/PangoFT2-1.0.typelib %%X11%%lib/girepository-1.0/PangoXft-1.0.typelib -lib/libpango-1.0.a lib/libpango-1.0.la lib/libpango-1.0.so lib/libpango-1.0.so.0 -lib/libpangocairo-1.0.a +lib/libpango-1.0.so.0.3400.1 lib/libpangocairo-1.0.la lib/libpangocairo-1.0.so lib/libpangocairo-1.0.so.0 -lib/libpangoft2-1.0.a +lib/libpangocairo-1.0.so.0.3400.1 lib/libpangoft2-1.0.la lib/libpangoft2-1.0.so lib/libpangoft2-1.0.so.0 -%%X11%%lib/libpangoxft-1.0.a +lib/libpangoft2-1.0.so.0.3400.1 %%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-lang.a +%%X11%%lib/libpangoxft-1.0.so.0.3400.1 lib/pango/%%VERSION%%/modules/pango-arabic-lang.la lib/pango/%%VERSION%%/modules/pango-arabic-lang.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-indic-lang.a lib/pango/%%VERSION%%/modules/pango-indic-lang.la lib/pango/%%VERSION%%/modules/pango-indic-lang.so libdata/pkgconfig/pango.pc libdata/pkgconfig/pangocairo.pc libdata/pkgconfig/pangoft2.pc %%X11%%libdata/pkgconfig/pangoxft.pc +man/man1/pango-querymodules.1.gz +man/man1/pango-view.1.gz share/gir-1.0/Pango-1.0.gir share/gir-1.0/PangoCairo-1.0.gir share/gir-1.0/PangoFT2-1.0.gir @@ -142,3 +141,4 @@ share/gtk-doc/html/pango/up.png @dirrm include/pango-1.0/pango @dirrm include/pango-1.0 @dirrm etc/pango +@exec %%LOCALBASE%%/bin/pango-querymodules > %D/etc/pango/pango.modules |