aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2003-11-20 05:30:52 +0800
committertrevor <trevor@FreeBSD.org>2003-11-20 05:30:52 +0800
commit244615727828bf82c3acd2d68d11cc5a9a2a4ee4 (patch)
tree3edcc494c31b015fbd1dfd8cfe18da7da48007ad /x11-toolkits
parent52209f53ef5b4c75b069b4764006946f41231c84 (diff)
downloadfreebsd-ports-gnome-244615727828bf82c3acd2d68d11cc5a9a2a4ee4.tar.gz
freebsd-ports-gnome-244615727828bf82c3acd2d68d11cc5a9a2a4ee4.tar.zst
freebsd-ports-gnome-244615727828bf82c3acd2d68d11cc5a9a2a4ee4.zip
Fix packing list. Fix generation of pango.modules file (still
assumes Linux emulation is enabled).
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/linux-f10-pango/Makefile11
-rw-r--r--x11-toolkits/linux-f8-pango/Makefile11
-rw-r--r--x11-toolkits/linux-pango/Makefile11
3 files changed, 21 insertions, 12 deletions
diff --git a/x11-toolkits/linux-f10-pango/Makefile b/x11-toolkits/linux-f10-pango/Makefile
index d91faeea68c9..d1573514ca31 100644
--- a/x11-toolkits/linux-f10-pango/Makefile
+++ b/x11-toolkits/linux-f10-pango/Makefile
@@ -24,14 +24,17 @@ RPM_SET= pango-1.2.1-3.i386.rpm
pre-install:
${RM} -rf ${WRKSRC}/tmp
+ ${ECHO_CMD} etc/pango/pango.modules > ${PLIST}
${MKDIR} ${WRKSRC}/tmp
cd ${WRKSRC}/tmp; \
rpm2cpio < ${DISTDIR}/${DIST_SUBDIR}/${RPM_SET} | cpio -id; \
- ${FIND} * -type f -o -type l > ${PLIST}; \
- ${FIND} -d * -type d | ${SED} -e 's:^:@dirrm :' >> ${PLIST}
+ ${FIND} * -type f -o -type l >> ${PLIST}; \
+ ${FIND} -d * -type d | ${GREP} pango | \
+ ${SED} -e 's:^:@dirrm :' >> ${PLIST}
post-install:
- ${LINUXBASE}/usr/bin/pango-querymodules >\
- ${LINUXBASE}/etc/pango/pango.modules
+ - chroot ${LINUXBASE} usr/bin/pango-querymodules > \
+ ${WRKSRC}/pango.modules
+ ${INSTALL_DATA} ${WRKSRC}/pango.modules ${LINUXBASE}/etc/pango/
.include "../linux-gtk/Makefile"
diff --git a/x11-toolkits/linux-f8-pango/Makefile b/x11-toolkits/linux-f8-pango/Makefile
index d91faeea68c9..d1573514ca31 100644
--- a/x11-toolkits/linux-f8-pango/Makefile
+++ b/x11-toolkits/linux-f8-pango/Makefile
@@ -24,14 +24,17 @@ RPM_SET= pango-1.2.1-3.i386.rpm
pre-install:
${RM} -rf ${WRKSRC}/tmp
+ ${ECHO_CMD} etc/pango/pango.modules > ${PLIST}
${MKDIR} ${WRKSRC}/tmp
cd ${WRKSRC}/tmp; \
rpm2cpio < ${DISTDIR}/${DIST_SUBDIR}/${RPM_SET} | cpio -id; \
- ${FIND} * -type f -o -type l > ${PLIST}; \
- ${FIND} -d * -type d | ${SED} -e 's:^:@dirrm :' >> ${PLIST}
+ ${FIND} * -type f -o -type l >> ${PLIST}; \
+ ${FIND} -d * -type d | ${GREP} pango | \
+ ${SED} -e 's:^:@dirrm :' >> ${PLIST}
post-install:
- ${LINUXBASE}/usr/bin/pango-querymodules >\
- ${LINUXBASE}/etc/pango/pango.modules
+ - chroot ${LINUXBASE} usr/bin/pango-querymodules > \
+ ${WRKSRC}/pango.modules
+ ${INSTALL_DATA} ${WRKSRC}/pango.modules ${LINUXBASE}/etc/pango/
.include "../linux-gtk/Makefile"
diff --git a/x11-toolkits/linux-pango/Makefile b/x11-toolkits/linux-pango/Makefile
index d91faeea68c9..d1573514ca31 100644
--- a/x11-toolkits/linux-pango/Makefile
+++ b/x11-toolkits/linux-pango/Makefile
@@ -24,14 +24,17 @@ RPM_SET= pango-1.2.1-3.i386.rpm
pre-install:
${RM} -rf ${WRKSRC}/tmp
+ ${ECHO_CMD} etc/pango/pango.modules > ${PLIST}
${MKDIR} ${WRKSRC}/tmp
cd ${WRKSRC}/tmp; \
rpm2cpio < ${DISTDIR}/${DIST_SUBDIR}/${RPM_SET} | cpio -id; \
- ${FIND} * -type f -o -type l > ${PLIST}; \
- ${FIND} -d * -type d | ${SED} -e 's:^:@dirrm :' >> ${PLIST}
+ ${FIND} * -type f -o -type l >> ${PLIST}; \
+ ${FIND} -d * -type d | ${GREP} pango | \
+ ${SED} -e 's:^:@dirrm :' >> ${PLIST}
post-install:
- ${LINUXBASE}/usr/bin/pango-querymodules >\
- ${LINUXBASE}/etc/pango/pango.modules
+ - chroot ${LINUXBASE} usr/bin/pango-querymodules > \
+ ${WRKSRC}/pango.modules
+ ${INSTALL_DATA} ${WRKSRC}/pango.modules ${LINUXBASE}/etc/pango/
.include "../linux-gtk/Makefile"