1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/japanese/font-marumoji/Makefile
2015-09-25 22:02:16 +00:00

35 lines
834 B
Makefile

# Created by: Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
# $FreeBSD$
PORTNAME= marumoji
PORTVERSION= 1.0
PORTREVISION= 10
CATEGORIES= japanese x11-fonts
MASTER_SITES= LOCAL/hrs/${PORTNAME}
PKGNAMEPREFIX= ja-font-
MAINTAINER= hrs@FreeBSD.org
COMMENT= Japanese marumoji fonts
LICENSE= MIT
LICENSE_FILES= ${WRKSRC}/LICENSE
BUILD_DEPENDS= mkbold:${PORTSDIR}/x11-fonts/mkbold-mkitalic \
bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf
USES= fonts:fc
FONTNAME= marumoji
NO_ARCH= yes
MAKE_ENV= FONTSDIR=${FONTSDIR:S,${PREFIX},,}
SUB_FILES= Makefile pkg-install
PKGINSTALL= ${WRKDIR}/pkg-install
PKGDEINSTALL= ${WRKDIR}/pkg-install
${WRKSRC}/maru16.bdf:
cd ${WRKSRC} && ${SED} -f m18to16.sed < maru18.bdf > maru16.bdf
pre-build: ${WRKSRC}/maru16.bdf apply-slist
${INSTALL_DATA} ${WRKDIR}/Makefile ${WRKSRC}
.include <bsd.port.mk>