1997-04-01 11:38:33 +00:00
|
|
|
# New ports collection makefile for: k12font
|
|
|
|
# Date created: 24 June 1996
|
|
|
|
# Whom: Mita Yoshio <mita@jp.FreeBSD.org>
|
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1997-04-01 11:38:33 +00:00
|
|
|
#
|
|
|
|
|
2000-04-11 14:15:53 +00:00
|
|
|
PORTNAME= kaname12
|
|
|
|
PORTVERSION= 1.1
|
1998-08-07 22:43:13 +00:00
|
|
|
CATEGORIES= japanese x11-fonts
|
1999-11-01 01:10:42 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PORTS_JP} \
|
|
|
|
http://www.din.or.jp/~storm/fonts/
|
2000-04-11 14:15:53 +00:00
|
|
|
DISTNAME= kaname_k12_bdf
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
|
|
knm_new_linux.tar.gz
|
1997-04-01 11:38:33 +00:00
|
|
|
|
|
|
|
MAINTAINER= mita@jp.FreeBSD.org
|
|
|
|
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
1999-11-01 01:10:42 +00:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/fonts
|
|
|
|
EXTRACT_ONLY= knm_new_linux.tar.gz
|
1997-04-01 11:38:33 +00:00
|
|
|
|
1998-11-20 20:24:53 +00:00
|
|
|
FONTSDIR= lib/X11/fonts/local
|
|
|
|
MAKE_ENV= FONTSDIR=${FONTSDIR}
|
|
|
|
PLIST_SUB= FONTSDIR=${FONTSDIR}
|
|
|
|
|
1999-11-01 01:10:42 +00:00
|
|
|
post-extract:
|
|
|
|
@${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
|
1998-11-20 20:24:53 +00:00
|
|
|
pre-install:
|
|
|
|
@${SETENV} PKG_PREFIX=${PREFIX} \
|
|
|
|
${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL
|
|
|
|
|
1997-04-01 11:38:33 +00:00
|
|
|
post-install:
|
1998-11-20 20:24:53 +00:00
|
|
|
@(cd ${PREFIX}/${FONTSDIR} ; mkfontdir)
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/k12
|
1999-11-01 01:10:42 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/readme ${PREFIX}/share/doc/k12
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/readme.kaname_bdf ${PREFIX}/share/doc/k12
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/doc.orig/* ${PREFIX}/share/doc/k12
|
1998-11-20 20:24:53 +00:00
|
|
|
.endif
|
1997-04-01 11:38:33 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|