aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-03-20 18:28:40 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-03-20 18:28:40 +0000
commita3a0779c5555aac22f8d4115042f3fe82038135d (patch)
treece4ef4eebd6e237123e55d6965e1a0daff9d7fa0 /x11-fonts
parent7a22682e50208c173d5f05f842520be2a4f5f63d (diff)
downloadports-a3a0779c5555aac22f8d4115042f3fe82038135d.tar.gz
ports-a3a0779c5555aac22f8d4115042f3fe82038135d.zip
Notes
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/tmu/Makefile12
-rw-r--r--x11-fonts/tmu/pkg-plist2
2 files changed, 3 insertions, 11 deletions
diff --git a/x11-fonts/tmu/Makefile b/x11-fonts/tmu/Makefile
index 32c67114d251..3011f41b3fb5 100644
--- a/x11-fonts/tmu/Makefile
+++ b/x11-fonts/tmu/Makefile
@@ -10,21 +10,15 @@ MASTER_SITES= CENKES
MAINTAINER= ports@FreeBSD.org
COMMENT= Free Tibetan Machine Uni font
-BUILD_DEPENDS= mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale \
- mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
- fc-cache:${PORTSDIR}/x11-fonts/fontconfig
-
-USES= tar:bzip2
-PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
-FONTNAME= ${PORTNAME}
-FONTSDIR?= ${PREFIX}/lib/X11/fonts/${FONTNAME}
+USES= fonts tar:bzip2
NO_BUILD= yes
+PLIST_FILES= ${FONTSDIR}/tmu.ttf
post-extract:
@cd ${WRKSRC}/&&${MV} TibMachUni-${DISTVERSION}.ttf tmu.ttf
do-install:
@${INSTALL} -d ${STAGEDIR}${FONTSDIR}/
- @${INSTALL_DATA} ${WRKSRC}/tmu.ttf ${STAGEDIR}${FONTSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/tmu.ttf ${STAGEDIR}${FONTSDIR}/
.include <bsd.port.mk>
diff --git a/x11-fonts/tmu/pkg-plist b/x11-fonts/tmu/pkg-plist
deleted file mode 100644
index b8353a1d66ea..000000000000
--- a/x11-fonts/tmu/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-%%FONTSDIR%%/tmu.ttf
-@fcfontsdir %%FONTSDIR%%