aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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%%