[BACK]Return to Makefile.inc CVS log [TXT][DIR] Up to [local] / ports / fonts / adobe-fonts

File: [local] / ports / fonts / adobe-fonts / Makefile.inc (download)

Revision 1.6, Fri Oct 21 14:46:37 2022 UTC (19 months, 3 weeks ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, HEAD
Changes since 1.5: +3 -1 lines

adobe-fonts/source-code-pro: update to 2.038, ok phessler

This fixes a regression introduced with recent-ish changes in xenocara
and exposed with the fontconfig or Xft update.  With this newer version
xterm can again display the font and doesn't use weird fallbacks that
cause eye bleed.

PKG_ARCH ?=	*
CATEGORIES +=	fonts fonts/adobe-fonts x11

GH_ACCOUNT ?=	adobe-fonts
TAG ?=		${GH_TAGNAME:C,/,-,g}
DISTNAME ?=	${GH_PROJECT}-${TAG}
PKGNAME ?=	adobe-${GH_PROJECT}-${VERSION}

HOMEPAGE ?=	http://adobe-fonts.github.io/${GH_PROJECT}/

# SIL OFL 1.1
PERMIT_PACKAGE ?=	Yes

DIST_SUBDIR ?=	adobe-fonts

NO_BUILD ?=	Yes
NO_TEST ?=	Yes

FONT_DIR ?=	${PREFIX}/share/fonts/adobe-${GH_PROJECT}
DOC_DIR ?=	${PREFIX}/share/doc/adobe-${GH_PROJECT}

WRKDIST ?=	${WRKDIR}/${DISTNAME}

SUBST_VARS +=	VERSION VERSION_I

LICENSE ?=	LICENSE.txt

do-install:
	${INSTALL_DATA_DIR} ${FONT_DIR} ${DOC_DIR}
	cd ${WRKDIST}; ${INSTALL_DATA} TTF/*.ttf OTF/*.otf \
	    ${FONT_DIR}
	cd ${WRKDIST}; ${INSTALL_DATA} ${LICENSE} README.md *.css *.json \
	    ${DOC_DIR}
	cd ${WRKDIST}; if [ -e ReadMe.html ]; then \
		${INSTALL_DATA} *.html ${DOC_DIR}; \
	fi