pkgsrc/fonts/freefont-ttf/Makefile
rillig b686dd9180 all: migrate several HOMEPAGEs to https
pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
2020-01-18 23:30:43 +00:00

35 lines
957 B
Makefile

# $NetBSD: Makefile,v 1.11 2020/01/18 23:31:04 rillig Exp $
#
DISTNAME= freefont-ttf-20120503
PKGREVISION= 1
CATEGORIES= fonts
MASTER_SITES= ${MASTER_SITE_GNU:=freefont/}
EXTRACT_SUFX= .zip
MAINTAINER= reed@reedmedia.net
HOMEPAGE= https://www.gnu.org/software/freefont/
COMMENT= Free UCS Outline Fonts: FreeMono, FreeSans, and FreeSerif
LICENSE= gnu-gpl-v3
WRKSRC= ${WRKDIR}/${DISTNAME:S/-ttf//}
NO_CONFIGURE= yes
NO_BUILD= yes
USE_LANGUAGES= # empty
USE_TOOLS+= pax
INSTALLATION_DIRS= share/doc/freefont share/fonts/X11/TTF
FONTSDIR= ${PREFIX}/share/fonts/X11/TTF
FONTS_DIRS.ttf= ${FONTSDIR}
do-install:
${INSTALL_DATA} ${WRKSRC}/README \
${DESTDIR}${PREFIX}/share/doc/freefont/
${INSTALL_DATA} ${WRKSRC}/AUTHORS \
${DESTDIR}${PREFIX}/share/doc/freefont/
${INSTALL_DATA} ${WRKSRC}/CREDITS \
${DESTDIR}${PREFIX}/share/doc/freefont/
cd ${WRKSRC} && \
pax -rw Free*.ttf ${DESTDIR}/${FONTSDIR}
.include "../../mk/bsd.pkg.mk"