aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2006-10-03 03:33:31 +0800
committerthierry <thierry@FreeBSD.org>2006-10-03 03:33:31 +0800
commitf7e82c8127614e481497465a91e5f7e337cba789 (patch)
tree1584248ad28a8624fc7430fdbe7eb174b28ba27c
parent8094fc8f64edec56e62fc82bba9fc599bb7836aa (diff)
downloadfreebsd-ports-gnome-f7e82c8127614e481497465a91e5f7e337cba789.tar.gz
freebsd-ports-gnome-f7e82c8127614e481497465a91e5f7e337cba789.tar.zst
freebsd-ports-gnome-f7e82c8127614e481497465a91e5f7e337cba789.zip
Run ttmkfdir in a writable directory and unbreak.
PR: ports/103852 Approved by: maintainer
-rw-r--r--arabic/kacst_fonts/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/arabic/kacst_fonts/Makefile b/arabic/kacst_fonts/Makefile
index 1ee735118530..9368629ae2e7 100644
--- a/arabic/kacst_fonts/Makefile
+++ b/arabic/kacst_fonts/Makefile
@@ -17,10 +17,6 @@ COMMENT= Truetype Arabic fonts created by KACST
BUILD_DEPENDS= ttmkfdir:${PORTSDIR}/x11-fonts/ttmkfdir
-BROKEN= Does not build
-DEPRECATED= ${BROKEN}
-EXPIRATION_DATE=2006-12-01
-
USE_X_PREFIX= yes
USE_BZIP2= yes
WRKSRC= ${WRKDIR}/KacstArabicFonts-${PORTVERSION}
@@ -29,12 +25,12 @@ SUB_FILES= pkg-message
SUB_LIST= PORTNAME="${PORTNAME}"
do-build:
- @ttmkfdir -c -d ${WRKSRC} > ${WRKSRC}/fonts.dir
+ cd ${WRKDIR} && ttmkfdir -c -d ${WRKSRC} > ${WRKSRC}/fonts.dir
do-install:
- @${MKDIR} ${PREFIX}/lib/X11/fonts/kacst_fonts/
- @${INSTALL_DATA} ${WRKSRC}/*.ttf ${PREFIX}/lib/X11/fonts/kacst_fonts/
- @${INSTALL_DATA} ${WRKSRC}/fonts.dir ${PREFIX}/lib/X11/fonts/kacst_fonts/
+ ${MKDIR} ${PREFIX}/lib/X11/fonts/kacst_fonts/
+ ${INSTALL_DATA} ${WRKSRC}/*.ttf ${PREFIX}/lib/X11/fonts/kacst_fonts/
+ ${INSTALL_DATA} ${WRKSRC}/fonts.dir ${PREFIX}/lib/X11/fonts/kacst_fonts/
post-install:
@${CAT} ${PKGMESSAGE}