mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
41 lines
1.0 KiB
Makefile
41 lines
1.0 KiB
Makefile
# Created by: Eiji-usagi-MATSUmoto <usagi@ruby.club.or.jp>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= naga10
|
|
PORTVERSION= 1.1
|
|
PORTREVISION= 4
|
|
CATEGORIES= japanese x11-fonts
|
|
MASTER_SITES= http://hp.vector.co.jp/authors/VA013391/fonts/
|
|
DISTNAME= knj10-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= X11 10-dot Kanji font 'naga10 font'
|
|
|
|
BUILD_DEPENDS= mkbold:${PORTSDIR}/x11-fonts/mkbold-mkitalic \
|
|
bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf
|
|
RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
|
|
mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.pre.mk>
|
|
|
|
FONTSDIR= lib/X11/fonts/local
|
|
MAKE_ENV= FONTSDIR=${FONTSDIR}
|
|
PLIST_SUB= FONTSDIR=${FONTSDIR}
|
|
|
|
post-extract:
|
|
${CP} ${FILESDIR}/Makefile.in ${WRKSRC}/Makefile
|
|
|
|
pre-install:
|
|
@${SETENV} PKG_PREFIX=${PREFIX} \
|
|
${SH} ${PKGREQ} ${PKGNAME} INSTALL
|
|
|
|
post-install:
|
|
@(cd ${PREFIX}/${FONTSDIR} ; mkfontdir)
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${PREFIX}/share/doc/naga10
|
|
@${CP} ${WRKSRC}/README ${PREFIX}/share/doc/naga10/
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|