Index: head/x11-fonts/webfonts/Makefile =================================================================== --- head/x11-fonts/webfonts/Makefile (revision 371800) +++ head/x11-fonts/webfonts/Makefile (revision 371801) @@ -1,96 +1,96 @@ # Created by: Konstantinos Konstantinidis # $FreeBSD$ PORTNAME= webfonts PORTVERSION= 0.30 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= x11-fonts MASTER_SITES= SF/corefonts/the%20fonts/final:group1 \ ftp://ftp.botik.ru/rented/znamensk/distributions/ftp.vsu.ru/pub/tex/font-packs/mscore/:group1 \ http://download.microsoft.com/download/ie6sp1/finrel/6_sp1/W98NT42KMeXP/EN-US/:group2 DISTFILES= andale32.exe:group1 arial32.exe:group1 arialb32.exe:group1 \ comic32.exe:group1 courie32.exe:group1 georgi32.exe:group1 \ impact32.exe:group1 times32.exe:group1 trebuc32.exe:group1 \ verdan32.exe:group1 webdin32.exe:group1 DIST_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= TrueType core fonts for the Web EXTRACT_DEPENDS=cabextract:${PORTSDIR}/archivers/cabextract BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig NO_BUILD= yes RESTRICTED= Restrictive license - cannot sell for profit or distribute in modified form EXTRACT_CMD= ${LOCALBASE}/bin/cabextract EXTRACT_BEFORE_ARGS= -qLF '*.ttf' -d ${WRKSRC} EXTRACT_AFTER_ARGS= # # Local variables # FONTNAME= ${PORTNAME} FONTSDIR?= ${PREFIX}/lib/X11/fonts/${FONTNAME} TTFONTSDIR?= ${LOCALBASE}/lib/X11/fonts/TrueType PLIST_SUB= FONTNAME="${FONTNAME}" \ FONTSDIR="${FONTSDIR:S|${PREFIX}/||}" \ TTFONTSDIR="${TTFONTSDIR:S|${LOCALBASE}/||}" SUB_LIST= FONTSDIR="${FONTSDIR}" SUB_FILES= pkg-message FONTS_FILE= ${WRKDIR}/fonts.dir OPTIONS_DEFINE= DOCS .include .if defined(WITH_MSWINDOWS_LICENSE) DISTFILES+= ielpkth.cab:group2 .endif .SILENT: # # Post-extract # post-extract: ${EXTRACT_CMD} -qLF '*.txt' -d ${WRKSRC} ${_DISTDIR}/webdin32.exe # # Post-patch # post-patch: .if defined(WITH_MSWINDOWS_LICENSE) ${SORT} ${FILESDIR}/fonts.dir ${FILESDIR}/tahoma.dir > ${FONTS_FILE} .else ${CP} ${FILESDIR}/fonts.dir ${FONTS_FILE} .endif ${PRINTF} "1i\n%u\n.\nwq\n" `wc -l < ${FONTS_FILE}` | \ ed -s ${FONTS_FILE} # # Pre-install # pre-install: .if defined(WITH_MSWINDOWS_LICENSE) PLIST_SUB+= EXTRAFONTS="" .else PLIST_SUB+= EXTRAFONTS="@comment " .endif # # Install # do-install: ${MKDIR} ${STAGEDIR}${FONTSDIR} ${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${FONTSDIR} ${INSTALL_DATA} ${FONTS_FILE} ${STAGEDIR}${FONTSDIR} ${INSTALL_DATA} ${FONTS_FILE} ${STAGEDIR}${FONTSDIR}/fonts.scale ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/licen.txt ${STAGEDIR}${DOCSDIR}/LICENSE .include Index: head/x11-fonts/webfonts/pkg-plist =================================================================== --- head/x11-fonts/webfonts/pkg-plist (revision 371800) +++ head/x11-fonts/webfonts/pkg-plist (revision 371801) @@ -1,39 +1,36 @@ %%PORTDOCS%%%%DOCSDIR%%/LICENSE %%FONTSDIR%%/andalemo.ttf %%FONTSDIR%%/arial.ttf %%FONTSDIR%%/arialbd.ttf %%FONTSDIR%%/arialbi.ttf %%FONTSDIR%%/ariali.ttf %%FONTSDIR%%/ariblk.ttf %%FONTSDIR%%/comic.ttf %%FONTSDIR%%/comicbd.ttf %%FONTSDIR%%/cour.ttf %%FONTSDIR%%/courbd.ttf %%FONTSDIR%%/courbi.ttf %%FONTSDIR%%/couri.ttf -@unexec /bin/rm %D/%%FONTSDIR%%/fonts.cache-1 2>/dev/null || /usr/bin/true %%FONTSDIR%%/fonts.dir %%FONTSDIR%%/fonts.scale %%FONTSDIR%%/georgia.ttf %%FONTSDIR%%/georgiab.ttf %%FONTSDIR%%/georgiai.ttf %%FONTSDIR%%/georgiaz.ttf %%FONTSDIR%%/impact.ttf %%EXTRAFONTS%%%%FONTSDIR%%/tahoma.ttf %%EXTRAFONTS%%%%FONTSDIR%%/tahomabd.ttf %%FONTSDIR%%/times.ttf %%FONTSDIR%%/timesbd.ttf %%FONTSDIR%%/timesbi.ttf %%FONTSDIR%%/timesi.ttf %%FONTSDIR%%/trebuc.ttf %%FONTSDIR%%/trebucbd.ttf %%FONTSDIR%%/trebucbi.ttf %%FONTSDIR%%/trebucit.ttf %%FONTSDIR%%/verdana.ttf %%FONTSDIR%%/verdanab.ttf %%FONTSDIR%%/verdanai.ttf %%FONTSDIR%%/verdanaz.ttf %%FONTSDIR%%/webdings.ttf -%%PORTDOCS%%@dirrm %%DOCSDIR%% -@dirrm %%FONTSDIR%% -@exec %%LOCALBASE%%/bin/fc-cache -f -v %%FONTSDIR%% || /usr/bin/true +@fc %%FONTSDIR%%