freebsd-ports/textproc/linux-expat/Makefile
Alexander Leidinger 8697f3d4a9 s/rpm2cpio/rpm2cpio.pl/ after the recent update of archivers/rpm2cpio (the
script was renamed to solve a conflict with archivers/rpm) to fix possible
build problems.

I've tested this with lang/icc. Any new errors because of this commit in
one of the modified ports may be because the ports previously may have used
rpm2cpio from archivers/rpm instead of the used {EXTRACT,BUILD}_DEPENDS
archivers/rpm2cpio.
2003-12-12 13:43:05 +00:00

32 lines
743 B
Makefile

# New ports collection makefile for: linux-expat
# Date created: 2003-07-05
# Whom: trevor
#
# $FreeBSD$
#
PORTNAME= expat
PORTVERSION= 1.95.5
PORTREVISION= 0
CATEGORIES= textproc linux
MAINTAINER= trevor@FreeBSD.org
COMMENT= Linux/i386 binary port of Expat XML-parsing library
BUILD_DEPENDS= rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio
BASEVERSION= 9
ONLY_FOR_ARCHS= i386
PLIST= ${WRKDIR}/plist
RPM_SET= expat-1.95.5-2.i386.rpm
pre-install:
${RM} -rf ${WRKSRC}/tmp
${MKDIR} ${WRKSRC}/tmp
cd ${WRKSRC}/tmp; \
rpm2cpio.pl < ${DISTDIR}/${DIST_SUBDIR}/${RPM_SET} | cpio -div; \
${FIND} * -type f -o -type l > ${PLIST}
${ECHO_CMD} @dirrm usr/share/doc/expat-1.95.5 >> ${PLIST}
.include "../../x11-toolkits/linux-gtk/Makefile"