1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Fix packing list. Fix generation of pango.modules file (still

assumes Linux emulation is enabled).
This commit is contained in:
Trevor Johnson 2003-11-19 21:30:52 +00:00
parent f4e2f13b58
commit 67db3a6a89
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94408
3 changed files with 21 additions and 12 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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"