forked from Lainports/freebsd-ports
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# Created by: David O'Brien (obrien@cs.ucdavis.edu)
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= figlet
|
|
PORTVERSION= 2.2.5
|
|
CATEGORIES= misc
|
|
MASTER_SITES= ftp://ftp.figlet.org/pub/figlet/program/unix/ \
|
|
LOCAL/obrien
|
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
|
COMMENT= SysV banner-like program prints strings in large fancy ASCII art
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
MAKE_ENV= datadir=${DATADIR} prefix=${PREFIX}
|
|
MAKE_ARGS= LD=${CC}
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
regression-test:
|
|
@ cd ${WRKSRC} && ${MAKE} check
|
|
|
|
post-build tests test: regression-test
|
|
|
|
do-install:
|
|
@ ${MKDIR} ${STAGEDIR}${DATADIR}
|
|
@ ${INSTALL_PROGRAM} ${WRKSRC}/figlet ${STAGEDIR}${PREFIX}/bin
|
|
@ ${INSTALL_PROGRAM} ${WRKSRC}/chkfont ${STAGEDIR}${PREFIX}/bin
|
|
@ ${INSTALL_SCRIPT} ${WRKSRC}/figlist ${STAGEDIR}${PREFIX}/bin
|
|
@ ${INSTALL_SCRIPT} ${WRKSRC}/showfigfonts ${STAGEDIR}${PREFIX}/bin
|
|
@ ${INSTALL_DATA} ${WRKSRC}/fonts/*.flf ${STAGEDIR}${DATADIR}
|
|
@ ${INSTALL_DATA} ${WRKSRC}/fonts/*.flc ${STAGEDIR}${DATADIR}
|
|
@ cd ${WRKSRC} && ${INSTALL_MAN} *.6 ${STAGEDIR}${PREFIX}/man/man6
|
|
|
|
@ ${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
@ ${INSTALL_DATA} ${WRKSRC}/figfont.txt ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|