pkgsrc/fonts/ms-ttf/Makefile
riastradh 8560be0ed3 Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.
Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).

No change to BUILD_DEPENDS as used correctly inside buildlink3.

As proposed on tech-pkg:
https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
2023-06-06 12:40:15 +00:00

44 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.28 2023/06/06 12:41:23 riastradh Exp $
DISTNAME= # empty
PKGNAME= ms-ttf-20020306
PKGREVISION= 6
CATEGORIES= fonts
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=corefonts/}
DISTFILES= andale32.exe webdin32.exe trebuc32.exe georgi32.exe \
verdan32.exe comic32.exe arialb32.exe impact32.exe \
arial32.exe times32.exe courie32.exe
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://corefonts.sourceforge.net/
COMMENT= TrueType fonts from Microsoft
LICENSE= ms-ttf-license
RESTRICTED= No redistribution in altered form
TOOL_DEPENDS+= cabextract-[0-9]*:../../archivers/cabextract
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_SRC_ON_CDROM= ${RESTRICTED}
DIST_SUBDIR= ms-ttf
EXTRACT_CMD= ${LOCALBASE}/bin/cabextract -q $${extract_file}
DOCDIR= ${PREFIX}/share/doc/ms-ttf
NO_CONFIGURE= yes
NO_BUILD= yes
INSTALLATION_DIRS+= ${DOCDIR}
post-extract:
${RUN} \
for f in ${WRKSRC}/*.TTF ; do \
${MV} $$f `${ECHO} $$f | ${SED} 's|TTF$$|ttf|'`; \
done
do-install:
${INSTALL_DATA} ${.CURDIR}/../../licenses/${LICENSE} ${DESTDIR}${DOCDIR}
.include "../../mk/fonts.mk"
.include "../../mk/bsd.pkg.mk"