30b55df38e
MASTER_SITES= site1 \ site2 style continuation lines to be simple repeated MASTER_SITES+= site1 MASTER_SITES+= site2 lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint accordingly.
48 lines
1.4 KiB
Makefile
48 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.21 2017/01/19 18:52:09 agc Exp $
|
|
|
|
DISTNAME= elisau10
|
|
PKGNAME= ja-elisau-1.0
|
|
PKGREVISION= 2
|
|
CATEGORIES= fonts x11 japanese
|
|
MASTER_SITES= http://www.wheel.gr.jp/~dai/software/
|
|
MASTER_SITES+= ftp://ftp.jp.NetBSD.org/pub/NetBSD-jp/tut-jp/fonts/
|
|
EXTRACT_SUFX= .tgz
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} clR5x8.bdf
|
|
|
|
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
|
|
HOMEPAGE= http://www.wheel.gr.jp/~dai/software/#elisau10
|
|
COMMENT= 10x8 dots X11 bitmap font for JIS X 0208
|
|
LICENSE= no-commercial-use
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
SITES.elisau10${EXTRACT_SUFX}= \
|
|
http://hp.vector.co.jp/authors/VA004814/freesoft/
|
|
SITES.clR5x8.bdf= ftp://ftp.jp.NetBSD.org/pub/NetBSD-jp/tut-jp/fonts/
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
USE_TOOLS+= bdftopcf gzip patch
|
|
DOCDIR= ${PREFIX}/share/doc/elisau
|
|
FONTDIR= ${PREFIX}/share/fonts/X11/local
|
|
FONTS_DIRS.x11= ${FONTDIR}
|
|
DISTPATCH= ${WRKSRC}/clR5x8-s5x8.diff
|
|
|
|
post-extract:
|
|
${CP} ${DISTDIR}/clR5x8.bdf ${WRKDIR}; \
|
|
cd ${WRKSRC}; \
|
|
${PATCH} -s < ${DISTPATCH}
|
|
|
|
do-build:
|
|
cd ${WRKSRC}; \
|
|
for i in *.bdf; do \
|
|
p=`basename $$i .bdf`.pcf; \
|
|
bdftopcf -o $$p $$i; \
|
|
${GZIP_CMD} -c $$p > $$p.gz; \
|
|
done
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/*.doc ${WRKSRC}/*.txt ${DESTDIR}${DOCDIR}
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${FONTDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${DESTDIR}${FONTDIR}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|