[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / fonts / umefont-ttf

File: [cvs.NetBSD.org] / pkgsrc / fonts / umefont-ttf / Makefile (download)

Revision 1.32, Wed Oct 3 18:28:31 2012 UTC (11 years, 4 months ago) by asau
Branch: MAIN
Changes since 1.31: +1 -3 lines

Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

# $NetBSD: Makefile,v 1.32 2012/10/03 18:28:31 asau Exp $
#

DISTNAME=	umefont_443
PKGNAME=	${DISTNAME:S/_/-ttf-0./}
CATEGORIES=	fonts japanese
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_JP:=ume-font/22212/}
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	ryoon@NetBSD.org
HOMEPAGE=	http://sourceforge.jp/projects/ume-font/wiki/FrontPage
COMMENT=	Ume 18 Japanese fonts (Mincho and Gothic)
LICENSE=	mplusfont

CONFLICTS=	umefont<=0.421
SUPERSEDES=	umefont<=0.421

USE_X11BASE=	YES
NO_CONFIGURE=	YES
NO_BUILD=	YES

DOCSDIR=	${PREFIX}/share/doc/${PKGBASE}

INSTALLATION_DIRS=	lib/X11/fonts/TTF \
			${DOCSDIR}

FONTDIR=	${PREFIX}/lib/X11/fonts/TTF
FONTS_DIRS.ttf=	${FONTDIR}

INSTALL_FONTS=	ume-pgc4.ttf \
		ume-pgc5.ttf \
		ume-pgo4.ttf \
		ume-pgo5.ttf \
		ume-pgs4.ttf \
		ume-pgs5.ttf \
		ume-pmo3.ttf \
		ume-pms3.ttf \
		ume-tgc4.ttf \
		ume-tgc5.ttf \
		ume-tgo4.ttf \
		ume-tgo5.ttf \
		ume-tgs4.ttf \
		ume-tgs5.ttf \
		ume-tmo3.ttf \
		ume-tms3.ttf \
		ume-ugo4.ttf \
		ume-ugo5.ttf
INSTALL_DOCS=	license.html

USE_LANGUAGES=	# none

do-install:
.for fontfile in ${INSTALL_FONTS}
	${INSTALL_DATA} ${WRKSRC}/${fontfile} ${DESTDIR}${FONTDIR}
.endfor
.for docfile in ${INSTALL_DOCS}
	${INSTALL_DATA} ${WRKSRC}/${docfile} ${DESTDIR}${DOCSDIR}
.endfor

.include "../../mk/bsd.pkg.mk"