1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

Add RUN_DEPENDS on x11-fonts/fontconfig, which is used in @exec.

Use LOCALBASE rather than X11BASE, like the other font ports do.

Feature safe:	yes
This commit is contained in:
Jimmy Olgeni 2010-07-02 10:00:10 +00:00
parent 14334e04d2
commit 1887162f24
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=257289

View File

@ -6,6 +6,7 @@
PORTNAME= linuxlibertine
PORTVERSION= 4.4.1
PORTREVISION= 1
CATEGORIES= x11-fonts
MASTER_SITES= SF
DISTNAME= LinLibertineFont-${PORTVERSION}
@ -15,6 +16,7 @@ MAINTAINER= bkoenig@alpha-tierchen.de
COMMENT= Linux Libertine Open Fonts
BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
WRKSRC= ${WRKDIR}/${DISTNAME:C/-.*//}
FONTSDIR?= ${PREFIX}/lib/X11/fonts/${PORTNAME}
@ -38,6 +40,6 @@ do-install:
post-install:
@${ECHO_MSG} "===> Running fc-cache"
-${X11BASE}/bin/fc-cache -f -v ${FONTSDIR}
-${LOCALBASE}/bin/fc-cache -f -v ${FONTSDIR}
.include <bsd.port.mk>