diff options
Diffstat (limited to 'x11-toolkits/pango')
-rw-r--r-- | x11-toolkits/pango/Makefile | 7 | ||||
-rw-r--r-- | x11-toolkits/pango/pkg-install | 8 |
2 files changed, 14 insertions, 1 deletions
diff --git a/x11-toolkits/pango/Makefile b/x11-toolkits/pango/Makefile index 7d70c96a20b2..dcb3b253421f 100644 --- a/x11-toolkits/pango/Makefile +++ b/x11-toolkits/pango/Makefile @@ -7,7 +7,7 @@ PORTNAME= pango PORTVERSION= 1.2.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-toolkits MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/${PORTNAME}/1.2,} \ ftp://ftp.gtk.org/pub/gtk/v2.0/ \ @@ -57,5 +57,10 @@ PLIST_SUB+= XFREE4:="" post-patch: @${FIND} ${WRKSRC}/pango/opentype -name "*.[ch]" | xargs ${REINPLACE_CMD} -e \ 's|internal/tterrors\.h|fterrors.h| ; s|TT_Err_|FT_Err_|g' + +post-install: +.if !defined(PACKAGE_BUILDING) + @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL +.endif .include <bsd.port.post.mk> diff --git a/x11-toolkits/pango/pkg-install b/x11-toolkits/pango/pkg-install new file mode 100644 index 000000000000..62581669e328 --- /dev/null +++ b/x11-toolkits/pango/pkg-install @@ -0,0 +1,8 @@ +#!/bin/sh + +PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:${PATH} +export PATH + +if [ "$2" = "POST-INSTALL" ]; then + fc-cache -f >/dev/null 2>&1 +fi |