aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/hanazono-fonts-ttf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fonts/hanazono-fonts-ttf/Makefile')
-rw-r--r--x11-fonts/hanazono-fonts-ttf/Makefile21
1 files changed, 6 insertions, 15 deletions
diff --git a/x11-fonts/hanazono-fonts-ttf/Makefile b/x11-fonts/hanazono-fonts-ttf/Makefile
index 3e3b6e1d252f..ae1c5be2a167 100644
--- a/x11-fonts/hanazono-fonts-ttf/Makefile
+++ b/x11-fonts/hanazono-fonts-ttf/Makefile
@@ -3,6 +3,7 @@
PORTNAME= hanazono-fonts-ttf
PORTVERSION= 20131208
+PORTREVISION= 1
CATEGORIES= x11-fonts
MASTER_SITES= SFJP
MASTER_SITE_SUBDIR= hanazono-font/60001
@@ -13,26 +14,16 @@ COMMENT= CJK Mincho-typeface developed by Hanazono University
LICENSE= OFL11
-BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
- mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
-
-USES= zip
+USES= fonts zip
+NO_BUILD= yes
NO_WRKSUBDIR= yes
-FONTDIR= lib/X11/fonts/Hana
-PKGMESSAGE= ${WRKDIR}/pkg-message
-PLIST_SUB= FONTDIR=${FONTDIR}
+FONTNAME= Hana
SUB_FILES= pkg-message
-SUB_LIST= FONTDIR=${FONTDIR}
-
-do-build:
- @cd ${WRKSRC}/ && \
- ${LOCALBASE}/bin/mkfontscale && \
- ${LOCALBASE}/bin/mkfontdir
do-install:
- ${MKDIR} ${STAGEDIR}${PREFIX}/${FONTDIR}/
+ ${MKDIR} ${STAGEDIR}${FONTSDIR}
cd ${WRKSRC}/ && \
- ${INSTALL_DATA} *.ttf fonts.* ${STAGEDIR}${PREFIX}/${FONTDIR}/
+ ${INSTALL_DATA} *.ttf ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>