openbsd-ports/fonts/msctfonts/Makefile
naddy ae1cb22cb2 Switch to PERMIT_(DISTFILES|PACKAGE).
CDROM restrictions are no longer applicable.
2019-07-14 02:16:50 +00:00

37 lines
911 B
Makefile

# $OpenBSD: Makefile,v 1.2 2019/07/14 02:16:51 naddy Exp $
COMMENT = Microsoft ClearType fonts
DISTNAME = PowerPointViewer.exe
EXTRACT_SUFX =
PKGNAME = msctfonts-1.0
CATEGORIES = fonts
# No redistribution
PERMIT_PACKAGE = No redistribution
PERMIT_DISTFILES = No redistribution
MASTER_SITES = http://download.microsoft.com/download/f/5/a/f5a3df76-d856-4a61-a6bd-722f52a5be26/
BUILD_DEPENDS = archivers/cabextract
NO_BUILD = Yes
NO_TEST = Yes
PKG_ARCH = *
INST_DIR = ${PREFIX}/share/fonts/msctfonts
EXTRACT_CASES = *.exe) cabextract --lowercase --quiet \
--directory=${WRKDIST} -F ppviewer.cab ${DISTDIR}/${DISTNAME} ;;
post-extract:
@cabextract --lowercase -F '*.TT[FC]' --directory=${WRKDIST} \
${WRKDIST}/ppviewer.cab
@mv ${WRKDIST}/cambria.ttc ${WRKDIST}/cambria.ttf
do-install:
${INSTALL_DATA_DIR} ${INST_DIR}
${INSTALL_DATA} ${WRKSRC}/*.ttf ${INST_DIR}
.include <bsd.port.mk>