Webfonts are only useful to serve over the web. On OpenBSD, where /var/www is on a different partition from /usr/local and not visible from chroot, there's no way for pkg_add to keep these files up to date once they've been copied to a webserver. Maybe we'll install webfonts to /var/www in the future. Whether we do or not, installing them to /usr/local as we do now won't help. ok sthen@ pamela@ rsadowski@
34 lines
710 B
Makefile
34 lines
710 B
Makefile
# $OpenBSD: Makefile,v 1.7 2020/05/25 03:40:08 bentley Exp $
|
|
|
|
PKG_ARCH = *
|
|
|
|
COMMENT = font family inspired by Highway Gothic
|
|
|
|
GH_ACCOUNT = RedHatBrand
|
|
GH_PROJECT = Overpass
|
|
GH_TAGNAME = 3.0.4
|
|
DISTNAME = overpass-${GH_TAGNAME}
|
|
REVISION = 0
|
|
|
|
CATEGORIES = fonts
|
|
|
|
HOMEPAGE = https://overpassfont.org/
|
|
|
|
# SIL OFL 1.1
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
NO_BUILD = Yes
|
|
NO_TEST = Yes
|
|
|
|
DOCDIR = ${PREFIX}/share/doc/overpass
|
|
FONTDIR = ${PREFIX}/share/fonts/overpass
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${DOCDIR} ${FONTDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/desktop-fonts/*/*.otf \
|
|
${WRKSRC}/webfonts/*/*.ttf \
|
|
${PREFIX}/share/fonts/overpass
|
|
${INSTALL_DATA} ${WRKSRC}/{README.md,LICENSE.md} ${DOCDIR}
|
|
|
|
.include <bsd.port.mk>
|