1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/japanese/font-elisa10/Makefile
MANTANI Nobutaka 50dc6a76c8 - Install font files to ${FONTSDIR} instead of ${DATADIR}.
- Stop to make symbolic links from the font files to
  ${PREFIX}/share/fonts/misc/, which is found in the default
  font path, because recent libXfont does not follow symbolic
  links.
- Add pkg-message.in to show additional font path settings.
- Remove unnecessary pkg-install.in.
- Bump PORTREVISION.

PR:		225125 [1], 226511 [2]
Submitted by:	WATANABE Kazuhiro <CQG00620@nifty.ne.jp> [2]
Reported by:	Shigeharu TAKENO <shige@iee.niit.ac.jp> [1]
Approved by:	maintainer timeout (one month)
2018-04-15 13:52:21 +00:00

39 lines
863 B
Makefile

# $FreeBSD$
PORTNAME= elisa10
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= japanese x11-fonts
MASTER_SITES= http://www.wheel.gr.jp/~dai/software/
PKGNAMEPREFIX= ja-font-
DISTNAME= elisau10
MAINTAINER= hrs@FreeBSD.org
COMMENT= Elisa 10-dot Kanji font
BUILD_DEPENDS= bdftopcf:x11-fonts/bdftopcf
USES= fonts tar:tgz
NO_ARCH= yes
NO_WRKSUBDIR= yes
SUB_FILES= Makefile pkg-message
MAKEFILE= ${WRKDIR}/Makefile
SUB_LIST= BDFTOPCF_CMD="${LOCALBASE}/bin/bdftopcf" \
GZIP_CMD="${GZIP_CMD}"
PORTDOCS= elisau10.doc hosoku.txt
PLIST_FILES= %%FONTSDIR%%/elisau10.pcf.gz \
%%FONTSDIR%%/fonts.alias
OPTIONS_DEFINE= DOCS
pre-build: apply-slist
post-install:
${INSTALL_DATA} ${WRKSRC}/fonts.alias ${STAGEDIR}${FONTSDIR}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>