freebsd-ports/x11-toolkits/linux-f8-pango/Makefile
Trevor Johnson c6d9969896 This port needs ports/archivers/rpm (brought in by the BUILD_DEPENDS+
line in the master port) for its do-install, so it can can use the
rpm2cpio that accompanies that.

PR:		62682
Submitted by:	Volker Stolz of RWTH Aachen
2004-02-11 16:47:19 +00:00

40 lines
1 KiB
Makefile

# New ports collection makefile for: linux-pango
# Date created: 2003-07-05
# Whom: trevor
#
# $FreeBSD$
#
PORTNAME= pango
PORTVERSION= 1.2.1
PORTREVISION= 0
CATEGORIES= x11-toolkits linux
MAINTAINER= trevor@FreeBSD.org
COMMENT= Linux/i386 pango binary
BUILD_DEPENDS+= \
${LINUXBASE}/usr/lib/libexpat.so.0:${PORTSDIR}/textproc/linux-expat
BASEVERSION= 9
ONLY_FOR_ARCHS= i386
PLIST= ${WRKDIR}/plist
RESTRICTED= "binary under GNU LGPL without accompanying source"
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 | ${GREP} pango | \
${SED} -e 's:^:@dirrm :' >> ${PLIST}
post-install:
- chroot ${LINUXBASE} usr/bin/pango-querymodules > \
${WRKSRC}/pango.modules
${INSTALL_DATA} ${WRKSRC}/pango.modules ${LINUXBASE}/etc/pango/
.include "../linux-gtk/Makefile"