summaryrefslogtreecommitdiff
path: root/misc/figlet-fonts/Makefile
blob: 778eaeb1b2fc7a28eec131c45c1de8d1c8fb9653 (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
36
37
38
39
40
41
# $NetBSD: Makefile,v 1.6 2005/09/28 19:51:27 rillig Exp $
#

DISTNAME=	figlet-fonts-20021023
CATEGORIES=	misc
MASTER_SITES=	ftp://ftp.figlet.org/pub/figlet/fonts/
DISTFILES=	contributed.tar.gz international.tar.gz ms-dos.tar.gz

MAINTAINER=     tech-pkg@NetBSD.org
HOMEPAGE=	http://www.figlet.org/
COMMENT=	Additional fonts for figlet

DEPENDS+=	figlet-[0-9]*:../../misc/figlet

DIST_SUBDIR=	${DISTNAME}
NO_CONFIGURE=	yes
NO_BUILD=	yes

USE_TOOLS+=		gtar gzcat
INSTALLATION_DIRS=	bin share/figlet

post-extract:
	cd ${WRKDIR}/international && \
		${GZCAT} cjkfonts.tar.gz | ${GTAR} -xf - && \
		${RM} -f cjkfonts.tar.gz
# conflicts with font of same name in figlet
	${MV} ${WRKDIR}/contributed/banner.flf ${WRKDIR}/contributed/banner1.flf

do-install:
	cd ${WRKDIR}/contributed && \
		${INSTALL_DATA} *.fl* *.txt ${PREFIX}/share/figlet
	cd ${WRKDIR}/contributed/bdffonts && \
		${INSTALL_DATA} *.* ${PREFIX}/share/figlet
	cd ${WRKDIR}/contributed/C64-fonts && \
		${INSTALL_DATA} *.* ${PREFIX}/share/figlet
	cd ${WRKDIR}/international && \
		${INSTALL_DATA} *.* ${PREFIX}/share/figlet
	${INSTALL_SCRIPT} ${WRKDIR}/international/febrew ${PREFIX}/bin
	${INSTALL_DATA} ${WRKDIR}/ms-dos/dosrebel.flf ${PREFIX}/share/figlet

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