freebsd-ports/japanese/marumoji-fonts/Makefile
Baptiste Daroussin a5da770e67 Make fonts repecting XDG
Xorg is now looking in ${LOCALBASE}/share/fonts by default
Xorg now accepts symlinks in etc/X11/fontpath.d (as decribed in Xserver(1))
Large cleanup on lots of font ports
All fonts are now properly dynamically generating fonts.dir and fonts.scale
instead of sometime overwriting existing ones)
All fonts are generating fontconfig's cache
Improve consistency in fonts ports
2015-03-21 23:05:19 +00:00

48 lines
1.2 KiB
Makefile

# Created by: Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
# $FreeBSD$
PORTNAME= marumoji-fonts
PORTVERSION= 1.0
PORTREVISION= 7
CATEGORIES= japanese x11-fonts
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= yoichi
DISTFILES= maru14.bdf.v13.gz maru18.bdf.v10.gz \
m18to16.sed \
7x14maru.bdf.gz 7x14rkmr.bdf.gz \
8x16maru.bdf.gz 8x16rkmr.bdf.gz \
9x18maru.bdf.gz 9x18rkmr.bdf.gz
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Japanese marumoji fonts
BUILD_DEPENDS= mkbold:${PORTSDIR}/x11-fonts/mkbold-mkitalic \
bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf
USES= fonts
NO_WRKSUBDIR= yes
FONTNAME= marumoji
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS= -p
EXTRACT_AFTER_ARGS= ${WRKDIR}
MAKE_ENV= FONTSDIR=${FONTSDIR:S,${PREFIX},,}
OPTIONS_DEFINE= DOCS
post-extract:
@${MV} ${WRKDIR}/maru14.bdf.v13.gz ${WRKDIR}/maru14.bdf.gz
@${MV} ${WRKDIR}/maru18.bdf.v10.gz ${WRKDIR}/maru18.bdf.gz
@${CP} ${FILESDIR}/Makefile.in ${WRKDIR}/Makefile
@(cd ${WRKDIR}; ${GUNZIP_CMD} *.gz)
pre-build:
@(cd ${WRKDIR}; ${SED} -f m18to16.sed < maru18.bdf > maru16.bdf)
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${FILESDIR}/LICENSE ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>