pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

cmvnd-fonts: import fonts/cmvnd-fonts as wip/cmvnd-fonts



Module Name:	pkgsrc-wip
Committed By:	Paolo Vincenzo Olivo <vms%retrobsd.ddns.net@localhost>
Pushed By:	vms
Date:		Tue Jul 18 19:01:14 2023 +0200
Changeset:	de4652f7104c8eaef4d51e7a24254c1c6465dfcc

Added Files:
	cmvnd-fonts/DESCR
	cmvnd-fonts/MESSAGE
	cmvnd-fonts/Makefile
	cmvnd-fonts/PLIST
	cmvnd-fonts/distinfo

Log Message:
cmvnd-fonts: import fonts/cmvnd-fonts as wip/cmvnd-fonts

This package includes a number of bitmap fonts derived from the
historical artwiz-fonts collection. These fonts are rather small
and make a good fit for old CRTs and lower resolutions.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=de4652f7104c8eaef4d51e7a24254c1c6465dfcc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 cmvnd-fonts/DESCR    |  3 +++
 cmvnd-fonts/MESSAGE  | 17 +++++++++++++++++
 cmvnd-fonts/Makefile | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 cmvnd-fonts/PLIST    |  7 +++++++
 cmvnd-fonts/distinfo |  5 +++++
 5 files changed, 86 insertions(+)

diffs:
diff --git a/cmvnd-fonts/DESCR b/cmvnd-fonts/DESCR
new file mode 100644
index 0000000000..0d926995c4
--- /dev/null
+++ b/cmvnd-fonts/DESCR
@@ -0,0 +1,3 @@
+This package includes a number of bitmap fonts derived from the
+historical artwiz-fonts collection. These fonts are rather small
+and make a good fit for old CRTs and lower resolutions.
diff --git a/cmvnd-fonts/MESSAGE b/cmvnd-fonts/MESSAGE
new file mode 100644
index 0000000000..11eb2c103c
--- /dev/null
+++ b/cmvnd-fonts/MESSAGE
@@ -0,0 +1,17 @@
+===========================================================================
+$NetBSD$
+
+To make new fonts available on an existing X session, you will have to
+update the X fonts path, by executing:
+
+	$ xset +fp ${PREFIX}/${FONTDIR}
+
+To make the effect permanent for future X sessions, you can add the above
+command to your ~/.xinitrc script.
+
+In alternative, you may wish to add the cmvnd-fonts directory path to your
+Xorg configuration:
+
+        FontPath        "${PREFIX}/${FONTDIR}/"
+
+===========================================================================
diff --git a/cmvnd-fonts/Makefile b/cmvnd-fonts/Makefile
new file mode 100644
index 0000000000..48394b1216
--- /dev/null
+++ b/cmvnd-fonts/Makefile
@@ -0,0 +1,54 @@
+# $NetBSD$
+
+DISTNAME=	fonts-20211030
+PKGNAME=	${DISTNAME:S/^/cmvnd-/}
+CATEGORIES=	fonts
+MASTER_SITES=	${MASTER_SITE_GITHUB:=cmvnd/}
+GITHUB_TAG=	0480a776c8a0b9c05cba4037084f74c5f8c042f6
+
+
+MAINTAINER=	vins%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/cmvnd/fonts/
+COMMENT=	Set of bitmap fonts inspired by artwiz
+LICENSE=	gnu-gpl-v3
+
+USE_LANGUAGES=	# none
+USE_TOOLS+=	bdftopcf gzip
+
+NO_CONFIGURE=	yes
+
+FONTS=		antidote berry berryBold \
+		lemon limey uushi
+
+FONTDIR=		share/fonts/X11/cmvnd
+REQD_DIRS=		${FONTDIR}
+FONTS_DIRS.x11=		${FONTDIR}
+INSTALLATION_DIRS=	${FONTDIR}
+MESSAGE_SUBST+=		FONTDIR=${FONTDIR:Q}
+
+WRKSRC=	${WRKDIR}/fonts-${GITHUB_TAG}
+
+post-extract:
+	${RUN}cd ${WRKSRC} &&				\
+	for FONT in spectrum-fonts/*.bdf; do		\
+	  ${MV} $${FONT} .;				\
+	done
+
+do-build:
+	${RUN}cd ${WRKSRC} &&				\
+	for FONT in ${FONTS}; do			\
+	  ${ECHO_N} "Compiling font $${FONT} ... ";	\
+	  bdftopcf $${FONT}.bdf |			\
+		${GZIP_CMD} -c >$${FONT}.pcf.gz;	\
+	  ${ECHO} "done";				\
+	done
+
+do-install:
+	${RUN}for FONT in ${FONTS}; do			\
+	  ${ECHO_N} "Installing font $${FONT} ... ";	\
+	  ${INSTALL_DATA} ${WRKSRC}/$${FONT}.pcf.gz	\
+		${DESTDIR}${PREFIX}/${FONTDIR};		\
+	  ${ECHO} "done";				\
+	done
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/cmvnd-fonts/PLIST b/cmvnd-fonts/PLIST
new file mode 100644
index 0000000000..b53e45b80d
--- /dev/null
+++ b/cmvnd-fonts/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD$
+share/fonts/X11/cmvnd/antidote.pcf.gz
+share/fonts/X11/cmvnd/berry.pcf.gz
+share/fonts/X11/cmvnd/berryBold.pcf.gz
+share/fonts/X11/cmvnd/lemon.pcf.gz
+share/fonts/X11/cmvnd/limey.pcf.gz
+share/fonts/X11/cmvnd/uushi.pcf.gz
diff --git a/cmvnd-fonts/distinfo b/cmvnd-fonts/distinfo
new file mode 100644
index 0000000000..087a918782
--- /dev/null
+++ b/cmvnd-fonts/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (fonts-20211030-0480a776c8a0b9c05cba4037084f74c5f8c042f6.tar.gz) = dcc61cc56fd8353261be9001c4089f95fdc9a04e89c23eb6c467600f44428074
+SHA512 (fonts-20211030-0480a776c8a0b9c05cba4037084f74c5f8c042f6.tar.gz) = 9c2f15c7dd3e88781940e2f0fe6dc55e775ad9b9486b30654b5c7db006f5959ba31329ca39609dc92cd14e50b25ae0e5a0c33b203a7344cd83b199cadff0f02e
+Size (fonts-20211030-0480a776c8a0b9c05cba4037084f74c5f8c042f6.tar.gz) = 315288 bytes


Home | Main Index | Thread Index | Old Index