freebsd-ports/x11-fonts/hanazono-fonts-ttf/Makefile
Ruslan Makhmatkhanov e3eba623ad - update to 20120202
PR:		166743
Submitted by:	Zhihao Yuan <lichray at gmail dot com> (maintainer)
2012-04-10 18:58:53 +00:00

46 lines
1 KiB
Makefile

# New ports collection makefile for: hanazono-fonts-ttf
# Date created: 2011/08/09
# Whom: Zhihao Yuan <lichray@gmail.com>
#
# $FreeBSD$
#
PORTNAME= hanazono-fonts-ttf
PORTVERSION= 20120202
CATEGORIES= x11-fonts
MASTER_SITES= http://kage.sourceforge.jp/hanazono/
DISTNAME= ${PORTNAME:C/-.*//}-${PORTVERSION}
MAINTAINER= lichray@gmail.com
COMMENT= CJK Mincho-typeface developed by Hanazono University
LICENSE= OFL
LICENSE_NAME= Open Font License
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LICENSE_PERMS= auto-accept
BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
USE_ZIP= yes
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} ${PREFIX}/${FONTDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} *.ttf fonts.* ${PREFIX}/${FONTDIR}/
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>