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
|
2008-11-17 21:24:57 +00:00
|
|
|
PORTREVISION= 3
|
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
|
2008-11-17 21:24:57 +00:00
|
|
|
EXTRACT_ONLY= knm_new_linux.tar.gz
|
1997-04-01 11:38:33 +00:00
|
|
|
|
2008-12-08 04:46:15 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= X11 12-dot kanji font
|
1997-04-01 11:38:33 +00:00
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf
|
|
|
|
RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
|
|
|
|
mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
|
1999-11-01 01:10:42 +00:00
|
|
|
|
2000-09-12 11:08:05 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1999-11-01 01:10:42 +00:00
|
|
|
WRKSRC= ${WRKDIR}/fonts
|
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}
|
2008-11-17 21:24:57 +00:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/k12
|
1998-11-20 20:24:53 +00:00
|
|
|
|
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} \
|
2000-10-08 10:23:48 +00:00
|
|
|
${SH} ${PKGREQ} ${PKGNAME} INSTALL
|
1998-11-20 20:24:53 +00:00
|
|
|
|
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)
|
2008-11-17 21:24:57 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/readme ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/readme.kaname_bdf ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/doc.orig/* ${DOCSDIR}
|
1998-11-20 20:24:53 +00:00
|
|
|
.endif
|
1997-04-01 11:38:33 +00:00
|
|
|
|
2000-09-12 11:08:05 +00:00
|
|
|
.include <bsd.port.post.mk>
|