From 569f2bcb7bdfcfdc752a556e9cf35f973c9a130a Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Fri, 20 Mar 2015 16:23:08 +0000 Subject: Convert to USES=fonts --- print/font-amsfonts/Makefile | 14 +++++--------- print/font-amsfonts/pkg-plist | 1 - 2 files changed, 5 insertions(+), 10 deletions(-) (limited to 'print') diff --git a/print/font-amsfonts/Makefile b/print/font-amsfonts/Makefile index 8005c9bdcb51..d04bf56829a4 100644 --- a/print/font-amsfonts/Makefile +++ b/print/font-amsfonts/Makefile @@ -3,7 +3,7 @@ PORTNAME= amsfonts PORTVERSION= 3.02 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= hrs @@ -13,17 +13,13 @@ DIST_SUBDIR= teTeX MAINTAINER= hrs@FreeBSD.org COMMENT= Computer Modern and standard fonts for TeX -PLIST_SUB= FONTSDIR=${FONTSDIR} +USES= fonts NO_BUILD= yes -FONTSDIR= share/fonts/${PORTNAME} - -RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig - -PLIST_SUB= FONTSDIR=${FONTSDIR} +FONTSDIR= ${PREFIX}/share/fonts/${PORTNAME} do-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/${FONTSDIR} - cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${FONTSDIR} + ${MKDIR} ${STAGEDIR}${FONTSDIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${FONTSDIR} .include diff --git a/print/font-amsfonts/pkg-plist b/print/font-amsfonts/pkg-plist index 527859b89ca5..08d9c89f6432 100644 --- a/print/font-amsfonts/pkg-plist +++ b/print/font-amsfonts/pkg-plist @@ -631,4 +631,3 @@ %%FONTSDIR%%/tex/plain/amsfonts/amssym.def %%FONTSDIR%%/tex/plain/amsfonts/amssym.tex %%FONTSDIR%%/tex/plain/amsfonts/cyracc.def -@fc %%FONTSDIR%% -- cgit v1.2.3