1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/japanese/k12/Makefile
Martin Wilke 3e4ed01146 - 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

51 lines
1.3 KiB
Makefile

# New ports collection makefile for: k12font
# Date created: 24 June 1996
# Whom: Mita Yoshio <mita@jp.FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= kaname12
PORTVERSION= 1.1
PORTREVISION= 2
CATEGORIES= japanese x11-fonts
MASTER_SITES= ${MASTER_SITE_PORTS_JP} \
http://www.din.or.jp/~storm/fonts/
DISTNAME= kaname_k12_bdf
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
knm_new_linux.tar.gz
MAINTAINER= mita@jp.FreeBSD.org
COMMENT= X11 12-dot kanji font
BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf
RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
.include <bsd.port.pre.mk>
WRKSRC= ${WRKDIR}/fonts
EXTRACT_ONLY= knm_new_linux.tar.gz
FONTSDIR= lib/X11/fonts/local
MAKE_ENV= FONTSDIR=${FONTSDIR}
PLIST_SUB= FONTSDIR=${FONTSDIR}
post-extract:
@${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
pre-install:
@${SETENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGREQ} ${PKGNAME} INSTALL
post-install:
@(cd ${PREFIX}/${FONTSDIR} ; mkfontdir)
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/k12
@${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
.endif
.include <bsd.port.post.mk>