summaryrefslogtreecommitdiffstats
path: root/misc/figlet-fonts/Makefile
blob: aa846836565363bc177115a049dc8dbc09a11b86 (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
# New ports collection makefile for:	figlet-fonts
# Date created:			11 August 2001
# Whom:				dd
#
# $FreeBSD$
#

PORTNAME=	figlet-fonts
PORTVERSION=	20020913
CATEGORIES=	misc
MASTER_SITES=	ftp://ftp.figlet.org/pub/figlet/fonts/
DISTFILES=	contributed.tar.gz international.tar.gz

MAINTAINER=	dd@FreeBSD.org
COMMENT=	Assorted fonts for the figlet(6) program

RUN_DEPENDS=	figlet:${PORTSDIR}/misc/figlet

NO_BUILD=	yes
NO_WRKSUBDIR=	yes

.include <bsd.port.pre.mk>

FONTFILES!=	${CAT} ${FILESDIR}/fontfiles

do-install:
	@${INSTALL_DATA} ${FONTFILES:S/^/${WRKSRC}\//} ${PREFIX}/share/figlet

# Generate pkg-plist from files/fontfiles.

makelist:
	${CAT} ${FILESDIR}/fontfiles | ${SED} 's;^[^/]*/;share/figlet/;' \
		 > ${PLIST}

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud