summaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorgusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2013-10-15 05:45:27 +0800
committergusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2013-10-15 05:45:27 +0800
commitb2fc809da1aeb2e2e3b2d0b67549519d054d08c6 (patch)
tree09cbd7cb1a72a1f27eece7a5e16b9b556d71422d /x11-toolkits
parentf5aec5b4c710e5e850873d4363638382b6d161da (diff)
downloadmarcuscom-ports-b2fc809da1aeb2e2e3b2d0b67549519d054d08c6.tar.gz
marcuscom-ports-b2fc809da1aeb2e2e3b2d0b67549519d054d08c6.tar.zst
marcuscom-ports-b2fc809da1aeb2e2e3b2d0b67549519d054d08c6.zip
Some changes to x11-toolkits/pango:
- Add cairo to USES_GNOME and sort it - Make the port stage compliant - Change LIB_DEPENDS to the new style - Change the COMMENT Reviewed by: kwm git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18800 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/pango/Makefile17
-rw-r--r--x11-toolkits/pango/pkg-plist5
2 files changed, 12 insertions, 10 deletions
diff --git a/x11-toolkits/pango/Makefile b/x11-toolkits/pango/Makefile
index e9357581c..cf10a2585 100644
--- a/x11-toolkits/pango/Makefile
+++ b/x11-toolkits/pango/Makefile
@@ -10,25 +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
-NO_STAGE= 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
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool
-USE_GNOME= glib20 ltverhack referencehack introspection:build
+USE_GNOME= cairo glib20 introspection:build ltverhack referencehack
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@@ -37,8 +35,6 @@ 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
@@ -59,6 +55,9 @@ pre-configure:
@${FALSE}
.endif
+post-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/pango/
+
.include <bsd.port.mk>
.endif
diff --git a/x11-toolkits/pango/pkg-plist b/x11-toolkits/pango/pkg-plist
index e730be6d0..9c9c1fb45 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
@@ -67,6 +67,8 @@ 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 +144,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