freebsd-ports/japanese/k10/Makefile
Eric Anholt 4eb209da7d - Add the X_WINDOW_SYSTEM={xorg,xfree86-4,xfree86-3} variable to bsd.port.mk,
and make XFREE86_VERSION map to it.  XFREE86_VERSION is now deprecated.
- Make xorg the default X_WINDOW_SYSTEM on -current.
- Add several new X_*_PORT variables which point to various pieces of X11 based
  on the setting of X_WINDOW_SYSTEM, and make ports use them.
- Add information to CHANGES about how to handle the transition.

PR:		ports/68763
Approved by:	portmgr (marcus)
Approved by:	re (scottl)
2004-07-23 19:10:32 +00:00

45 lines
1 KiB
Makefile

# New ports collection makefile for: naga10
# Date created: 25 Feb 1998
# Whom: Eiji-usagi-MATSUmoto <usagi@ruby.club.or.jp>
#
# $FreeBSD$
#
PORTNAME= naga10
PORTVERSION= 1.1
PORTREVISION= 1
CATEGORIES= japanese x11-fonts
MASTER_SITES= http://hp.vector.co.jp/authors/VA013391/fonts/
DISTNAME= knj10-${PORTVERSION}
MAINTAINER= usagi@clave.gr.jp
COMMENT= X11 10-dot kanji font 'naga10 font'
BUILD_DEPENDS= mkbold:${PORTSDIR}/x11-fonts/mkbold \
mkitalic:${PORTSDIR}/x11-fonts/mkitalic \
bdftopcf:${X_CLIENTS_PORT}
RUN_DEPENDS= mkfontdir:${X_CLIENTS_PORT}
USE_X_PREFIX= 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>