summaryrefslogtreecommitdiff
path: root/fonts/cyr-rfx-share/Makefile.common
blob: 67f700ae6104c0ce993dcd0b657e5a4486fe3b54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $NetBSD: Makefile.common,v 1.10 2008/03/03 20:17:11 jlam Exp $

DISTNAME=	cyr-rfx-${CYR_RFX_ENCODING}-1.1
CATEGORIES=	fonts x11
MASTER_SITES=	\
	ftp://ftp.ptc.spbu.ru/mirror/ftp.inp.nsk.su/pub/BINP/X11/fonts/cyr-rfx/ \
	http://www.inp.nsk.su/~bolkhov/files/fonts/cyr-rfx/
EXTRACT_SUFX=	.tgz

MAINTAINER=	shattered@users.sourceforge.net
HOMEPAGE=	http://www.inp.nsk.su/~bolkhov/files/fonts/cyr-rfx/00index.en.html
COMMENT=	Cyrillic X11 fonts in ${CYR_RFX_ENCODING} encoding
DIST_SUBDIR=	cyr-rfx

PKG_DESTDIR_SUPPORT=	user-destdir

USE_X11BASE=	yes

NO_CONFIGURE=	yes
NO_BUILD=	yes

USE_TOOLS+=	gtar

FONTS_DIRS.x11+=	${PREFIX}/lib/X11/fonts/local/${CYR_RFX_ENCODING}/75dpi
FONTS_DIRS.x11+=	${PREFIX}/lib/X11/fonts/local/${CYR_RFX_ENCODING}/misc
REQD_DIRS+=		${PREFIX}/lib/X11/fonts/local/${CYR_RFX_ENCODING}
REQD_DIRS+=		${PREFIX}/lib/X11/fonts/local/${CYR_RFX_ENCODING}/75dpi
REQD_DIRS+=		${PREFIX}/lib/X11/fonts/local/${CYR_RFX_ENCODING}/misc

do-install:
	cd ${DESTDIR}${PREFIX}/lib/X11/fonts/local && \
	${GTAR} xzf ${_DISTDIR}/${DISTFILES} \
		${CYR_RFX_ENCODING}/misc ${CYR_RFX_ENCODING}/75dpi

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