aboutsummaryrefslogtreecommitdiffstats
path: root/vietnamese/unicode-uhoai/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'vietnamese/unicode-uhoai/Makefile')
-rw-r--r--vietnamese/unicode-uhoai/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/vietnamese/unicode-uhoai/Makefile b/vietnamese/unicode-uhoai/Makefile
index 492830e329ca..f7016f0baf43 100644
--- a/vietnamese/unicode-uhoai/Makefile
+++ b/vietnamese/unicode-uhoai/Makefile
@@ -3,7 +3,7 @@
PORTNAME= unicode-uhoai
PORTVERSION= 2.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= vietnamese x11-fonts
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= obrien
@@ -12,19 +12,15 @@ DISTNAME= uhoaiw21
MAINTAINER= obrien@FreeBSD.org
COMMENT= Unicode TrueType Font with UHoai Vietnamese encoding
-USES= zip:infozip
+USES= fonts zip:infozip
NO_WRKSUBDIR= yes
NO_BUILD= taken care of in do-install target
-BUILD_DEPENDS= ttmkfdir:${PORTSDIR}/x11-fonts/ttmkfdir \
- bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf
-RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir
-
+FONTNAME= TrueType
EXTRACT_BEFORE_ARGS= -qoL
do-install:
- @${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/fonts/TrueType
- ${INSTALL_DATA} ${WRKSRC}/uhoaiw21.ttf \
- ${STAGEDIR}${PREFIX}/lib/X11/fonts/TrueType
+ @${MKDIR} ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/uhoaiw21.ttf ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>