mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
a9dcad2fff
With hat: portmgr Sponsored by: Absolight
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= elisa10
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 1
|
|
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
|
|
FONTNAME= misc
|
|
NO_ARCH= yes
|
|
NO_WRKSUBDIR= yes
|
|
SUB_FILES= Makefile pkg-install
|
|
MAKEFILE= ${WRKDIR}/Makefile
|
|
SUB_LIST= BDFTOPCF_CMD="${LOCALBASE}/bin/bdftopcf" \
|
|
GZIP_CMD="${GZIP_CMD}" \
|
|
FONTSALIAS="${DATADIR}/fonts.alias"
|
|
PKGINSTALL= ${WRKDIR}/pkg-install
|
|
PKGDEINSTALL= ${WRKDIR}/pkg-install
|
|
PORTDOCS= elisau10.doc hosoku.txt
|
|
PLIST_FILES= %%DATADIR%%/elisau10.pcf.gz \
|
|
%%DATADIR%%/fonts.alias \
|
|
%%FONTSDIR%%/elisau10.pcf.gz
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
pre-build: apply-slist
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${FONTSDIR}
|
|
cd ${STAGEDIR}${FONTSDIR} && \
|
|
${LN} -s ../../../${DATADIR_REL}/*.pcf.gz .
|
|
${INSTALL_DATA} ${WRKSRC}/fonts.alias ${STAGEDIR}${DATADIR}
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|