1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/japanese/marumoji-fonts/Makefile
Yoichi NAKAYAMA 4a89940ec6 Follow the master site disappearance by using MASTER_SITE_LOCAL
Include 7x14rkmr.bdf instead of 7x14rkmaru.bdf (a few glyphs differ).
Add SHA256 checksums.

Notified by:	kris, Bill "distfiles" Fenner
2005-11-21 15:04:05 +00:00

60 lines
1.6 KiB
Makefile

# New ports collection makefile for: marumoji-fonts
# Date created: Jun 1 2001
# Whom: Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
#
# $FreeBSD$
#
PORTNAME= marumoji-fonts
PORTVERSION= 1.0
PORTREVISION= 3
CATEGORIES= japanese x11-fonts
MASTER_SITES= ${MASTER_SITE_LOCAL} \
ftp://ftp.lavender.org/pub/x11/fonts/:lavender
MASTER_SITE_SUBDIR= yoichi
DISTFILES= maru14.bdf.v13.gz maru18.bdf.v10.gz \
m18to16.sed \
7x14maru.bdf.gz:lavender 7x14rkmr.bdf.gz:lavender \
8x16maru.bdf.gz:lavender 8x16rkmr.bdf.gz:lavender \
9x18maru.bdf.gz:lavender 9x18rkmr.bdf.gz:lavender
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= yoichi@FreeBSD.org
COMMENT= Japanese marumoji fonts
BUILD_DEPENDS= mkbold:${PORTSDIR}/x11-fonts/mkbold-mkitalic \
bdftopcf:${X_CLIENTS_PORT}
RUN_DEPENDS= mkfontdir:${X_CLIENTS_PORT}
NO_WRKSUBDIR= yes
USE_X_PREFIX= yes
FONTSDIR= lib/X11/fonts/local
.include <bsd.port.pre.mk>
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS= -p
EXTRACT_AFTER_ARGS= ${WRKDIR}
MAKE_ENV= FONTSDIR=${FONTSDIR}
PLIST_SUB= FONTSDIR=${FONTSDIR}
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)
pre-install:
@${SETENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGREQ} ${PKGNAME} INSTALL
post-install:
@(cd ${PREFIX}/${FONTSDIR}; mkfontdir)
${MKDIR} ${PREFIX}/share/doc/marumoji-fonts
${INSTALL_DATA} ${FILESDIR}/LICENSE ${PREFIX}/share/doc/marumoji-fonts
.include <bsd.port.post.mk>