8697f3d4a9
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.
32 lines
795 B
Makefile
32 lines
795 B
Makefile
# New ports collection makefile for: linux-urw-fonts
|
|
# Date created: 2003-11-19
|
|
# Whom: trevor
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= urw-fonts
|
|
PORTVERSION= 2.0
|
|
PORTREVISION= 0
|
|
CATEGORIES= x11-fonts linux
|
|
|
|
MAINTAINER= trevor@FreeBSD.org
|
|
COMMENT= Truetype fonts for use with Linux programs
|
|
|
|
BUILD_DEPENDS= rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio
|
|
|
|
BASEVERSION= 9
|
|
MD5_FILE= ${MASTERDIR}/distinfo
|
|
PLIST= ${WRKDIR}/plist
|
|
RPM_SET= urw-fonts-2.0-29.noarch.rpm
|
|
|
|
pre-install:
|
|
${RM} -rf ${WRKSRC}/tmp
|
|
${MKDIR} ${WRKSRC}/tmp
|
|
cd ${WRKSRC}/tmp; \
|
|
rpm2cpio.pl < ${DISTDIR}/${DIST_SUBDIR}/${RPM_SET} | cpio -id; \
|
|
${FIND} * -type f -o -type l > ${PLIST}; \
|
|
${FIND} -d * -type d | ${GREP} -E 'urw|default' | \
|
|
${SED} -e 's:^:@dirrm :' >> ${PLIST}
|
|
|
|
.include "../../x11-toolkits/linux-gtk/Makefile"
|