2012-06-17 03:39:12 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.23 2012/06/17 07:39:12 benoit Exp $
|
2001-05-05 22:29:37 -04:00
|
|
|
|
2009-05-27 06:24:50 -04:00
|
|
|
COMMENT = generates ASCII banner art
|
1999-12-15 04:26:02 -05:00
|
|
|
|
2012-06-17 03:39:12 -04:00
|
|
|
DISTNAME = figlet-2.2.5
|
2009-05-27 06:24:50 -04:00
|
|
|
CATEGORIES = misc graphics
|
1999-12-15 04:26:02 -05:00
|
|
|
|
2009-05-27 06:24:50 -04:00
|
|
|
HOMEPAGE = http://www.figlet.org/
|
|
|
|
|
|
|
|
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
|
1999-12-15 04:26:02 -05:00
|
|
|
|
2011-03-26 11:07:59 -04:00
|
|
|
# BSD
|
2009-05-27 06:24:50 -04:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
|
|
|
|
WANTLIB = c
|
2000-03-22 14:58:12 -05:00
|
|
|
|
2009-05-27 06:24:50 -04:00
|
|
|
MASTER_SITES = ftp://ftp.figlet.org/pub/figlet/program/unix/
|
2011-03-26 11:07:59 -04:00
|
|
|
MASTER_SITES0 = http://www.arcane-labs.net/download/OpenBSD/
|
1999-12-15 04:26:02 -05:00
|
|
|
|
2009-05-27 06:24:50 -04:00
|
|
|
DISTFILES = ${DISTNAME}${EXTRACT_SUFX} \
|
2002-09-07 17:10:41 -04:00
|
|
|
figlet-contributed-06092002${EXTRACT_SUFX}:0
|
2009-05-27 06:24:50 -04:00
|
|
|
MAKE_FLAGS = CC="${CC}" CFLAGS="${CFLAGS}" \
|
2001-02-09 07:25:44 -05:00
|
|
|
DEFAULTFONTDIR=${PREFIX}/share/figlet
|
2000-09-15 12:07:07 -04:00
|
|
|
|
2009-05-27 06:24:50 -04:00
|
|
|
NO_REGRESS = Yes
|
2002-10-27 16:07:53 -05:00
|
|
|
|
2006-02-07 23:54:48 -05:00
|
|
|
pre-configure:
|
2002-08-26 19:38:15 -04:00
|
|
|
@perl -pi -e 's|%%OPENBSDFIGLET%%|${LOCALBASE}/share/figlet|g' ${WRKBUILD}/figlist
|
|
|
|
|
2000-09-15 12:07:07 -04:00
|
|
|
post-extract:
|
2001-02-09 07:25:44 -05:00
|
|
|
@mv ${WRKDIR}/contributed/*.{flf,flc} ${WRKSRC}/fonts
|
|
|
|
@mv ${WRKDIR}/contributed/bdffonts/*.flf ${WRKSRC}/fonts
|
2002-08-26 19:38:15 -04:00
|
|
|
|
2000-09-15 12:07:07 -04:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/figlet ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/chkfont ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/chkfont ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/figlist ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/showfigfonts ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/figlet
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/fonts/*.{flf,flc} ${PREFIX}/share/figlet
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/figlet.6 ${PREFIX}/man/man6
|
1999-12-15 04:26:02 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|