aboutsummaryrefslogtreecommitdiffstats
path: root/misc/figlet/Makefile
blob: ebf6828436c8ab0b50f24fa7622b874f14ab4e76 (plain) (blame)
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
# ex:ts=8
# Ports collection makefile for:  figlet
# Date created:           Sat July 20, 1996
# Whom:               David O'Brien (obrien@cs.ucdavis.edu)
#
# $FreeBSD$
#
#   NOTE that the figlet port is purposefully not upgraded to the 2.2.2
#   version until we can determine if the 'Academic Free License 2.1'
#   vs. the Artistic License is better for us.

PORTNAME=   figlet
PORTVERSION=    2.2.1
CATEGORIES= misc
MASTER_SITES=   ftp://ftp.fasta.fh-dortmund.de/mirror/gentoo/distfiles/ \
        http://ftp.plig.org/pub/figlet/program/unix/ \
        ftp://ftp.figlet.org/pub/figlet/program/unix/
DISTNAME=   figlet221

MAINTAINER= obrien@FreeBSD.org
COMMENT=    SysV banner-like program prints strings in large fancy ASCII art

MAN6=       figlet.6

do-install:
    @ ${MKDIR} ${PREFIX}/share/figlet
    @ ${INSTALL_PROGRAM} ${WRKSRC}/figlet ${PREFIX}/bin
    @ ${INSTALL_PROGRAM} ${WRKSRC}/chkfont ${PREFIX}/bin
    @ ${INSTALL_SCRIPT} ${WRKSRC}/figlist ${PREFIX}/bin
    @ ${INSTALL_SCRIPT} ${WRKSRC}/showfigfonts ${PREFIX}/bin
    @ ${INSTALL_DATA} ${WRKSRC}/fonts/*.flf ${PREFIX}/share/figlet
    @ ${INSTALL_DATA} ${WRKSRC}/fonts/*.flc ${PREFIX}/share/figlet
    @ ${INSTALL_MAN} ${WRKSRC}/figlet.6 ${PREFIX}/man/man6
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/figfont.txt ${DOCSDIR}
.endif

.include <bsd.port.mk>