mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
36 lines
800 B
Makefile
36 lines
800 B
Makefile
# New ports collection makefile for: k12font
|
|
# Version required: 1.0
|
|
# Date created: 24 June 1996
|
|
# Whom: Mita Yoshio <mita@jp.FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= kaname_k12_bdf
|
|
PKGNAME= ja-kaname12-1.0
|
|
CATEGORIES= japanese x11-fonts
|
|
MASTER_SITES= ${MASTER_SITE_PORTS_JP}
|
|
|
|
MAINTAINER= mita@jp.FreeBSD.org
|
|
|
|
USE_X_PREFIX= yes
|
|
NO_WRKSUBDIR= yes
|
|
|
|
FONTSDIR= lib/X11/fonts/local
|
|
MAKE_ENV= FONTSDIR=${FONTSDIR}
|
|
PLIST_SUB= FONTSDIR=${FONTSDIR}
|
|
|
|
pre-install:
|
|
@${SETENV} PKG_PREFIX=${PREFIX} \
|
|
${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL
|
|
|
|
post-install:
|
|
@(cd ${PREFIX}/${FONTSDIR} ; mkfontdir)
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${PREFIX}/share/doc/k12
|
|
@${CP} ${WRKSRC}/readme.kaname_bdf ${PREFIX}/share/doc/k12
|
|
@${CP} ${WRKSRC}/doc.orig/* ${PREFIX}/share/doc/k12
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|