blob: 7d7a1811c484026b9055f1cb2371ea74eb44361f (
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
42
43
44
|
# $NetBSD: Makefile,v 1.12 2013/02/26 11:07:06 joerg Exp $
#
DISTNAME= figlet-fonts-20021023
PKGREVISION= 1
CATEGORIES= misc
MASTER_SITES= ftp://ftp.figlet.org/pub/figlet/fonts/
DISTFILES= contributed.tar.gz international.tar.gz ms-dos.tar.gz
MAINTAINER= pkgsrc-users@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+= tar gzcat
INSTALLATION_DIRS= bin share/figlet
post-extract:
cd ${WRKDIR}/international && \
${GZCAT} cjkfonts.tar.gz | ${TAR} -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 ${DESTDIR}${PREFIX}/share/figlet
cd ${WRKDIR}/contributed/bdffonts && \
${INSTALL_DATA} *.* ${DESTDIR}${PREFIX}/share/figlet
cd ${WRKDIR}/contributed/C64-fonts && \
${INSTALL_DATA} *.* ${DESTDIR}${PREFIX}/share/figlet
cd ${WRKDIR}/international && \
${INSTALL_DATA} *.* ${DESTDIR}${PREFIX}/share/figlet
${INSTALL_SCRIPT} ${WRKDIR}/international/febrew \
${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKDIR}/ms-dos/dosrebel.flf \
${DESTDIR}${PREFIX}/share/figlet
.include "../../mk/bsd.pkg.mk"
|