freebsd-ports/japanese/mikachan-ttfonts/Makefile
Pawel Pekala b55912c4eb - Stage support
- Fix legal statement, xorg.conf path

PR:		ports/186322
Submitted by:	maintainer
2014-02-02 14:27:37 +00:00

35 lines
931 B
Makefile

# Created by: sada
# $FreeBSD$
PORTNAME= mikachan-ttfonts
PORTVERSION= 9.1
CATEGORIES= japanese x11-fonts
MASTER_SITES= http://mikachan.sourceforge.jp/
DISTNAME= ver${PORTVERSION}
EXTRACT_SUFX= .lzh
MAINTAINER= turutani@scphys.kyoto-u.ac.jp
COMMENT= Handwritten Japanese TrueType fonts by Mika-chan
EXTRACT_DEPENDS= lha:${PORTSDIR}/archivers/lha
NO_CDROM= Do not sell distfile
EXTRACT_CMD= lha
EXTRACT_BEFORE_ARGS= pq
EXTRACT_AFTER_ARGS= > ${WRKSRC}/mika.ttf
DIST_SUBDIR= ${PORTNAME}
NO_BUILD= yes
NO_WRKSUBDIR= yes
MAKE_ENV= FONTSDIR=${FONTSDIR}
PLIST_SUB= FONTSDIR=${FONTSDIR}
FONTSDIR= lib/X11/fonts/TrueType
do-install:
${SETENV} PKG_PREFIX=${STAGEDIR}${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
${INSTALL_DATA} \
${WRKDIR}/mika.ttf ${FILESDIR}/fonts.dir.mika \
${STAGEDIR}${PREFIX}/${FONTSDIR}
${SETENV} PKG_PREFIX=${STAGEDIR}${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>