1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/misc/tdfiglet/Makefile
2018-09-09 23:35:26 +00:00

25 lines
507 B
Makefile

# Created by: Ryan Steinmetz <zi@FreeBSD.org>
# $FreeBSD$
PORTNAME= tdfiglet
PORTVERSION= 0.5
CATEGORIES= misc
MAINTAINER= zi@FreeBSD.org
COMMENT= A figlet for TDF ANSI fonts
USES= gmake
ALL_TARGET= default
USE_GITHUB= yes
GH_ACCOUNT= tat3r
post-patch:
@${REINPLACE_CMD} -Ee "s,^(FONTDIR := ).*,\1${DATADIR}," ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
(cd ${WRKSRC}/fonts && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
.include <bsd.port.mk>