freebsd-ports/misc/tdfiglet/Makefile

25 lines
505 B
Makefile
Raw Normal View History

# Created by: Ryan Steinmetz <zi@FreeBSD.org>
# $FreeBSD$
PORTNAME= tdfiglet
2018-09-10 01:35:26 +02:00
PORTVERSION= 0.5
CATEGORIES= misc
MAINTAINER= zi@FreeBSD.org
COMMENT= Figlet for TDF ANSI fonts
USES= gmake
ALL_TARGET= default
USE_GITHUB= yes
GH_ACCOUNT= tat3r
post-patch:
2018-07-15 03:01:35 +02:00
@${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>