mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
5519d7ccd5
themselves change. PR: ports/59365 Submitted by: Kawaguti Ginga <ginga-freebsd@ginganet.org> (maintainer)
56 lines
1.5 KiB
Makefile
56 lines
1.5 KiB
Makefile
# New ports collection makefile for: kappafont
|
|
# Date created: 8 Oct 1998
|
|
# Whom: Kawaguti Ginga <ginga@athena.club.ne.jp>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= k20fonts
|
|
PORTVERSION= 0.396
|
|
CATEGORIES= japanese x11-fonts
|
|
MASTER_SITES= http://khdd.net/20dot.fonts/:kappa20 \
|
|
http://downloads.sourceforge.jp/x-tt/5194/:ayu20
|
|
DISTNAME= Kappa20-${PORTVERSION}
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:kappa20 \
|
|
${AYUDISTNAME}${AYU_SUFFIX}:ayu20
|
|
|
|
MAINTAINER= ginga-freebsd@ginganet.org
|
|
COMMENT= X11 20-dot kanji font 'Kappa20dot + ayu font'
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_BZIP2= yes
|
|
AYUDISTNAME= ayu20gothic-1.4
|
|
AYU_SUFFIX= .tar.gz
|
|
|
|
BUILD_DEPENDS= mkitalic:${PORTSDIR}/x11-fonts/mkitalic
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${XFREE86_VERSION} == 4
|
|
BUILD_DEPENDS+= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
|
|
RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
|
|
.endif
|
|
|
|
FONTSDIR= lib/X11/fonts/local
|
|
MAKE_ENV= INSTALL_DATA="${INSTALL_DATA}"
|
|
MAKE_ARGS= FONTSDIR="${FONTSDIR}"
|
|
PLIST_SUB= FONTSDIR=${FONTSDIR}
|
|
|
|
post-extract:
|
|
(cd ${WRKSRC} ; ${TAR} xpzf ${DISTDIR}/${AYUDISTNAME}${AYU_SUFFIX})
|
|
(cd ${WRKSRC} ; ${MV} Makefile Makefile.dist)
|
|
${CP} ${FILESDIR}/Makefile.in ${WRKSRC}/Makefile
|
|
${CP} ${FILESDIR}/fonts.alias.ayu ${WRKSRC}/
|
|
|
|
pre-build:
|
|
(cd ${WRKSRC} ; ${SH} makebdf.sh)
|
|
|
|
post-install:
|
|
@(cd ${PREFIX}/${FONTSDIR} ; mkfontdir)
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${PREFIX}/share/doc/ja/${PORTNAME}
|
|
@${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/README ${PREFIX}/share/doc/ja/${PORTNAME}/README.euc-jp
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|