1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/x11-fonts/hanazono-fonts-ttf/Makefile
Guido Falsi 3445d16c0a - Update to 20131208
- Stagify

PR:		190385
Submitted by:	lichray@gmail.com (maintainer)
2014-06-06 21:10:33 +00:00

39 lines
890 B
Makefile

# Created by: Zhihao Yuan <lichray@gmail.com>
# $FreeBSD$
PORTNAME= hanazono-fonts-ttf
PORTVERSION= 20131208
CATEGORIES= x11-fonts
MASTER_SITES= SFJP
MASTER_SITE_SUBDIR= hanazono-font/60001
DISTNAME= ${PORTNAME:C/-.*//}-${PORTVERSION}
MAINTAINER= lichray@gmail.com
COMMENT= CJK Mincho-typeface developed by Hanazono University
LICENSE= OFL11
BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
USES= zip
NO_WRKSUBDIR= yes
FONTDIR= lib/X11/fonts/Hana
PKGMESSAGE= ${WRKDIR}/pkg-message
PLIST_SUB= FONTDIR=${FONTDIR}
SUB_FILES= pkg-message
SUB_LIST= FONTDIR=${FONTDIR}
do-build:
@cd ${WRKSRC}/ && \
${LOCALBASE}/bin/mkfontscale && \
${LOCALBASE}/bin/mkfontdir
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${FONTDIR}/
cd ${WRKSRC}/ && \
${INSTALL_DATA} *.ttf fonts.* ${STAGEDIR}${PREFIX}/${FONTDIR}/
.include <bsd.port.mk>