mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
a9dcad2fff
With hat: portmgr Sponsored by: Absolight
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# Created by: Mita Yoshio <mita@jp.FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= kaname12
|
|
PORTVERSION= 1.1
|
|
CATEGORIES= japanese x11-fonts
|
|
MASTER_SITES= LOCAL/hrs
|
|
PKGNAMEPREFIX= ja-font-
|
|
DISTNAME= kaname_k12_bdf
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
knm_new_linux${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= CQG00620@nifty.ne.jp
|
|
COMMENT= 12-dot Kanji font
|
|
|
|
BUILD_DEPENDS= bdftopcf:x11-fonts/bdftopcf
|
|
|
|
USES= fonts
|
|
FONTNAME= misc
|
|
NO_ARCH= yes
|
|
NO_WRKSUBDIR= yes
|
|
SUB_FILES= Makefile pkg-install
|
|
SUB_LIST= FONTSALIAS="${DATADIR}/fonts.alias"
|
|
MAKEFILE= ${WRKDIR}/Makefile
|
|
PORTDOCS= readme readme.kaname_bdf kaname.doc \
|
|
readme.knm gijutsu-siryou.doc
|
|
PKGINSTALL= ${WRKDIR}/pkg-install
|
|
PKGDEINSTALL= ${WRKDIR}/pkg-install
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
pre-build: apply-slist
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${FILESDIR}/fonts.alias ${STAGEDIR}${DATADIR}
|
|
@${MKDIR} ${STAGEDIR}${FONTSDIR}
|
|
cd ${STAGEDIR}${FONTSDIR} && \
|
|
${LN} -s ../../../${DATADIR_REL}/*.pcf.gz .
|
|
|
|
post-install-DOCS-on:
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install-doc
|
|
|
|
.include <bsd.port.mk>
|