aboutsummaryrefslogblamecommitdiff
path: root/x11-fonts/hanazono-fonts-ttf/Makefile
blob: 4d57d2d65408292c268d674f159359734413855e (plain) (tree)
1
2
3
4
5
6
7
8
                                             
           

                                  
                        
                         

                                           




                                                                    
                     



                                                             
                   







                                     
                   












                                                                            
# Created by: Zhihao Yuan <lichray@gmail.com>
# $FreeBSD$

PORTNAME=	hanazono-fonts-ttf
PORTVERSION=	20120421
CATEGORIES=	x11-fonts
MASTER_SITES=	SFJP
MASTER_SITE_SUBDIR=	hanazono-font/55644
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}

NO_STAGE=	yes
do-build:
	@cd ${WRKSRC}/ && \
		${LOCALBASE}/bin/mkfontscale && \
		${LOCALBASE}/bin/mkfontdir

do-install:
	${MKDIR} ${PREFIX}/${FONTDIR}/
	cd ${WRKSRC}/ && ${INSTALL_DATA} *.ttf fonts.* ${PREFIX}/${FONTDIR}/

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>