summaryrefslogtreecommitdiff
path: root/misc/figlet-fonts/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-12-25 19:32:51 +0000
committerwiz <wiz@pkgsrc.org>2004-12-25 19:32:51 +0000
commitec15cd8aa5fb3f5eae838914c942969bc6865552 (patch)
tree8b0b9dca8ec57b60d409b97ee29b01927097a612 /misc/figlet-fonts/Makefile
parentb0a167150cee1b8f8daa0753f13e87bd316f7787 (diff)
downloadpkgsrc-ec15cd8aa5fb3f5eae838914c942969bc6865552.tar.gz
Import a package that's been requested in pkgsrc/doc/TODO a long time ago:
figlet-fonts, more fonts for figlet. In the misc category since the fonts are not really usable by anything else.
Diffstat (limited to 'misc/figlet-fonts/Makefile')
-rw-r--r--misc/figlet-fonts/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/misc/figlet-fonts/Makefile b/misc/figlet-fonts/Makefile
new file mode 100644
index 00000000000..9aba94fc479
--- /dev/null
+++ b/misc/figlet-fonts/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/12/25 19:32:51 wiz Exp $
+#
+
+DISTNAME= figlet-fonts-20021023
+CATEGORIES= misc
+MASTER_SITES= ftp://ftp.figlet.org/pub/figlet/fonts/
+DISTFILES= contributed.tar.gz international.tar.gz ms-dos.tar.gz
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://www.figlet.org/
+COMMENT= Additional fonts for figlet
+
+DEPENDS+= figlet-[0-9]*:../../misc/figlet
+
+DIST_SUBDIR= ${DISTNAME}
+NO_CONFIGURE= # defined
+NO_BUILD= # defined
+
+post-extract:
+ cd ${WRKDIR}/international && \
+ ${GZIP_CMD} -cd cjkfonts.tar.gz | ${GTAR} -xf - && \
+ ${RM} -f cjkfonts.tar.gz
+# conflicts with font of same name in figlet
+ ${MV} ${WRKDIR}/contributed/banner.flf ${WRKDIR}/contributed/banner1.flf
+
+do-install:
+ cd ${WRKDIR}/contributed && \
+ ${INSTALL_DATA} *.fl* *.txt ${PREFIX}/share/figlet
+ cd ${WRKDIR}/contributed/bdffonts && \
+ ${INSTALL_DATA} *.* ${PREFIX}/share/figlet
+ cd ${WRKDIR}/contributed/C64-fonts && \
+ ${INSTALL_DATA} *.* ${PREFIX}/share/figlet
+ cd ${WRKDIR}/international && \
+ ${INSTALL_DATA} *.* ${PREFIX}/share/figlet
+ ${INSTALL_SCRIPT} ${WRKDIR}/international/febrew ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKDIR}/ms-dos/dosrebel.flf ${PREFIX}/share/figlet
+
+.include "../../mk/bsd.pkg.mk"