pkgsrc-WIP-changes archive

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

neatroff-{awesome6,ubuntu}: Add font descriptions



Module Name:	pkgsrc-wip
Committed By:	Malte Dehling <mdehling%gmail.com@localhost>
Pushed By:	mdehling
Date:		Mon May 13 16:04:25 2024 -0700
Changeset:	1f9c73dea7faf08615b15640297c48c62a502c5b

Modified Files:
	Makefile
	awesome6-ttf/version.mk
Added Files:
	neatroff-awesome6/DESCR
	neatroff-awesome6/Makefile
	neatroff-awesome6/PLIST
	neatroff-ubuntu/DESCR
	neatroff-ubuntu/Makefile
	neatroff-ubuntu/PLIST

Log Message:
neatroff-{awesome6,ubuntu}: Add font descriptions

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

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

diffstat:
 Makefile                   |  2 ++
 awesome6-ttf/version.mk    |  1 +
 neatroff-awesome6/DESCR    |  7 +++++++
 neatroff-awesome6/Makefile | 33 +++++++++++++++++++++++++++++++++
 neatroff-awesome6/PLIST    |  4 ++++
 neatroff-ubuntu/DESCR      |  7 +++++++
 neatroff-ubuntu/Makefile   | 44 ++++++++++++++++++++++++++++++++++++++++++++
 neatroff-ubuntu/PLIST      | 14 ++++++++++++++
 8 files changed, 112 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 9f9e3128a4..ba09adc1cf 100644
--- a/Makefile
+++ b/Makefile
@@ -2415,6 +2415,8 @@ SUBDIR+=	neatmkfn
 SUBDIR+=	neatpost
 SUBDIR+=	neatrefer
 SUBDIR+=	neatroff
+SUBDIR+=	neatroff-awesome6
+SUBDIR+=	neatroff-ubuntu
 SUBDIR+=	neb-cd512
 SUBDIR+=	neb-hdtoolbox
 SUBDIR+=	necat
diff --git a/awesome6-ttf/version.mk b/awesome6-ttf/version.mk
index 0e81bc50fb..bcccd30ab7 100644
--- a/awesome6-ttf/version.mk
+++ b/awesome6-ttf/version.mk
@@ -1,4 +1,5 @@
 # $NetBSD$
 # used by wip/awesome6-ttf/Makefile
+# used by wip/neatroff-awesome6/Makefile
 
 FA_VERSION=	6.5.2
diff --git a/neatroff-awesome6/DESCR b/neatroff-awesome6/DESCR
new file mode 100644
index 0000000000..387aaa544a
--- /dev/null
+++ b/neatroff-awesome6/DESCR
@@ -0,0 +1,7 @@
+Neatroff is a new implementation of the Troff typesetting system written
+in C.  It tries to address, as neatly as possible, some of the
+shortcomings of the original Troff based on the ideas and features
+available in Plan 9 Troff, Heirloom Troff, and Groff.
+
+This package contains the Neatroff font description for the awesome 6
+font.
diff --git a/neatroff-awesome6/Makefile b/neatroff-awesome6/Makefile
new file mode 100644
index 0000000000..b50b7268c8
--- /dev/null
+++ b/neatroff-awesome6/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD$
+
+.include "../../wip/awesome6-ttf/version.mk"
+
+PKGNAME=	neatroff-awesome6-${FA_VERSION}
+CATEGORIES=	fonts
+
+MAINTAINER=	mdehling%gmail.com@localhost
+HOMEPAGE=	https://fontawesome.com/
+COMMENT=	Neatroff font descriptions for the awesome6 fonts
+LICENSE=	ofl-v1.1
+
+DEPENDS+=	awesome6-ttf-${FA_VERSION}{,nb*}:../../wip/awesome6-ttf
+TOOL_DEPENDS+=	neatmkfn-[0-9]*:../../wip/neatmkfn
+
+MKFN=		${PREFIX}/bin/neatmkfn
+FONTDIR=	share/fonts/X11/TTF
+
+do-build:
+.for f in fa6-regular-400 fa6-solid-900 fa6-brands-400
+	${MKFN} -b -l -o -s -t ${f} -f ${PREFIX}/${FONTDIR}/${f}.ttf	\
+		< ${PREFIX}/${FONTDIR}/${f}.ttf > ${WRKDIR}/${f}
+.endfor
+
+INSTALLATION_DIRS=	share/neatroff/devutf
+
+do-install:
+.for f in fa6-regular-400 fa6-solid-900 fa6-brands-400
+	${INSTALL_DATA} ${WRKDIR}/${f}					\
+		${DESTDIR}${PREFIX}/share/neatroff/devutf
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/neatroff-awesome6/PLIST b/neatroff-awesome6/PLIST
new file mode 100644
index 0000000000..293d734173
--- /dev/null
+++ b/neatroff-awesome6/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+share/neatroff/devutf/fa6-brands-400
+share/neatroff/devutf/fa6-regular-400
+share/neatroff/devutf/fa6-solid-900
diff --git a/neatroff-ubuntu/DESCR b/neatroff-ubuntu/DESCR
new file mode 100644
index 0000000000..1f36b93320
--- /dev/null
+++ b/neatroff-ubuntu/DESCR
@@ -0,0 +1,7 @@
+Neatroff is a new implementation of the Troff typesetting system written
+in C.  It tries to address, as neatly as possible, some of the
+shortcomings of the original Troff based on the ideas and features
+available in Plan 9 Troff, Heirloom Troff, and Groff.
+
+This package contains the Neatroff font descriptions for the ubuntu
+fonts.
diff --git a/neatroff-ubuntu/Makefile b/neatroff-ubuntu/Makefile
new file mode 100644
index 0000000000..a7e3dd94b2
--- /dev/null
+++ b/neatroff-ubuntu/Makefile
@@ -0,0 +1,44 @@
+# $NetBSD$
+
+VERSION=	0.83
+PKGNAME=	neatroff-ubuntu-${VERSION}
+CATEGORIES=	fonts
+
+MAINTAINER=	mdehling%gmail.com@localhost
+HOMEPAGE=	https://design.ubuntu.com/font/
+COMMENT=	Neatroff font descriptions for the ubuntu fonts
+LICENSE=	ubuntu-font-license
+
+DEPENDS+=	ubuntu-fonts-${VERSION}{,nb*}:../../fonts/ubuntu-fonts
+TOOL_DEPENDS+=	neatmkfn-[0-9]*:../../wip/neatmkfn
+
+MKFN=		${PREFIX}/bin/neatmkfn
+FONTDIR=	share/fonts/X11/TTF
+
+do-build:
+.for f in B BI C L LI M MI R RI
+	${MKFN} -b -l -o -t Ubuntu-${f}					\
+		-f ${PREFIX}/${FONTDIR}/Ubuntu-${f}.ttf			\
+		< ${PREFIX}/${FONTDIR}/Ubuntu-${f}.ttf			\
+		> ${WRKDIR}/Ubuntu-${f}
+.endfor
+.for f in B BI R RI
+	${MKFN} -b -l -o -t UbuntuMono-${f}				\
+		-f ${PREFIX}/${FONTDIR}/UbuntuMono-${f}.ttf		\
+		< ${PREFIX}/${FONTDIR}/UbuntuMono-${f}.ttf		\
+		> ${WRKDIR}/UbuntuMono-${f}
+.endfor
+
+INSTALLATION_DIRS=	share/neatroff/devutf
+
+do-install:
+.for f in B BI C L LI M MI R RI
+	${INSTALL_DATA} ${WRKDIR}/Ubuntu-${f}				\
+		${DESTDIR}${PREFIX}/share/neatroff/devutf
+.endfor
+.for f in B BI R RI
+	${INSTALL_DATA} ${WRKDIR}/UbuntuMono-${f}			\
+		${DESTDIR}${PREFIX}/share/neatroff/devutf
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/neatroff-ubuntu/PLIST b/neatroff-ubuntu/PLIST
new file mode 100644
index 0000000000..bb698f465d
--- /dev/null
+++ b/neatroff-ubuntu/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD$
+share/neatroff/devutf/Ubuntu-B
+share/neatroff/devutf/Ubuntu-BI
+share/neatroff/devutf/Ubuntu-C
+share/neatroff/devutf/Ubuntu-L
+share/neatroff/devutf/Ubuntu-LI
+share/neatroff/devutf/Ubuntu-M
+share/neatroff/devutf/Ubuntu-MI
+share/neatroff/devutf/Ubuntu-R
+share/neatroff/devutf/Ubuntu-RI
+share/neatroff/devutf/UbuntuMono-B
+share/neatroff/devutf/UbuntuMono-BI
+share/neatroff/devutf/UbuntuMono-R
+share/neatroff/devutf/UbuntuMono-RI


Home | Main Index | Thread Index | Old Index