summaryrefslogtreecommitdiff
path: root/fonts/uni-vga/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/uni-vga/Makefile')
-rw-r--r--fonts/uni-vga/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/fonts/uni-vga/Makefile b/fonts/uni-vga/Makefile
new file mode 100644
index 00000000000..beb62605a68
--- /dev/null
+++ b/fonts/uni-vga/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/10/20 11:28:42 wiz Exp $
+#
+
+DISTNAME= uni-vga
+PKGNAME= ${DISTNAME}-1
+CATEGORIES= fonts x11
+MASTER_SITES= http://www.inp.nsk.su/~bolkhov/files/fonts/univga/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= mw+pkgsrc@wzff.de
+HOMEPAGE= http://www.inp.nsk.su/~bolkhov/files/fonts/univga/
+COMMENT= Monospaced Unicode font based on the original IBM VGA font
+LICENSE= mit
+
+PKG_DESTDIR_SUPPORT= user-destdir
+USE_TOOLS+= bdftopcf gzip
+
+FONTDIR= ${PREFIX}/lib/X11/fonts/uni-vga
+FONTS_DIRS.x11+= ${FONTDIR}
+OWN_DIRS= ${FONTDIR}
+WRKSRC= ${WRKDIR}/uni_vga
+
+INSTALLATION_DIRS= ${FONTDIR}
+
+do-build:
+ bdftopcf -o ${WRKSRC}/u_vga16.pcf ${WRKSRC}/u_vga16.bdf
+ gzip -9 ${WRKSRC}/u_vga16.pcf
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/u_vga16.pcf.gz ${DESTDIR}${FONTDIR}
+
+.include "../../mk/bsd.pkg.mk"