2015-09-25 23:48:09 +02:00
|
|
|
# Created by: Toshihiko SHIMOKAWA <toshi@tea.forus.or.jp> & ELISA Font Project
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= elisa8
|
|
|
|
PORTVERSION= 1.0
|
2015-10-22 08:15:28 +02:00
|
|
|
PORTREVISION= 1
|
2015-09-25 23:48:09 +02:00
|
|
|
CATEGORIES= japanese x11-fonts
|
|
|
|
MASTER_SITES= http://www.bsdbbq.org/~toshi/distfiles/
|
|
|
|
PKGNAMEPREFIX= ja-font-
|
|
|
|
DISTNAME= elisat10
|
|
|
|
|
|
|
|
MAINTAINER= toshi@tea.forus.or.jp
|
|
|
|
COMMENT= 8-dot Kanji font 'elisa'
|
|
|
|
|
2016-04-01 16:08:37 +02:00
|
|
|
BUILD_DEPENDS= bdftopcf:x11-fonts/bdftopcf
|
2015-09-25 23:48:09 +02:00
|
|
|
|
|
|
|
USES= fonts
|
|
|
|
FONTNAME= misc
|
|
|
|
NO_ARCH= yes
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
SUB_FILES= Makefile pkg-install
|
2015-11-05 13:36:25 +01:00
|
|
|
MAKEFILE= ${WRKDIR}/Makefile
|
2015-09-25 23:48:09 +02:00
|
|
|
SUB_LIST= BDFTOPCF_CMD="${LOCALBASE}/bin/bdftopcf" \
|
|
|
|
GZIP_CMD="${GZIP_CMD}" \
|
|
|
|
FONTSALIAS="${DATADIR}/fonts.alias"
|
|
|
|
PKGINSTALL= ${WRKDIR}/pkg-install
|
|
|
|
PKGDEINSTALL= ${WRKDIR}/pkg-install
|
|
|
|
PORTDOCS= elisa100.doc elisat10.doc elisat10.html
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
|
|
|
pre-build: apply-slist
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${STAGEDIR}${FONTSDIR}
|
|
|
|
cd ${STAGEDIR}${FONTSDIR} && \
|
|
|
|
${LN} -s ../../../${DATADIR_REL}/*.pcf.gz .
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/fonts.alias ${STAGEDIR}${DATADIR}
|
|
|
|
|
|
|
|
post-install-DOCS-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|