freebsd-ports/x11-fonts/webfonts/Makefile
Baptiste Daroussin a5da770e67 Make fonts repecting XDG
Xorg is now looking in ${LOCALBASE}/share/fonts by default
Xorg now accepts symlinks in etc/X11/fontpath.d (as decribed in Xserver(1))
Large cleanup on lots of font ports
All fonts are now properly dynamically generating fonts.dir and fonts.scale
instead of sometime overwriting existing ones)
All fonts are generating fontconfig's cache
Improve consistency in fonts ports
2015-03-21 23:05:19 +00:00

49 lines
1.5 KiB
Makefile

# Created by: Konstantinos Konstantinidis <kkonstan@daemon.gr>
# $FreeBSD$
PORTNAME= webfonts
PORTVERSION= 0.30
PORTREVISION= 10
CATEGORIES= x11-fonts
MASTER_SITES= SF/corefonts/the%20fonts/final:group1 \
ftp://ftp.botik.ru/rented/znamensk/distributions/ftp.vsu.ru/pub/tex/font-packs/mscore/:group1 \
http://download.microsoft.com/download/ie6sp1/finrel/6_sp1/W98NT42KMeXP/EN-US/:group2
DISTFILES= andale32.exe:group1 arial32.exe:group1 arialb32.exe:group1 \
comic32.exe:group1 courie32.exe:group1 georgi32.exe:group1 \
impact32.exe:group1 times32.exe:group1 trebuc32.exe:group1 \
verdan32.exe:group1 webdin32.exe:group1
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= olgeni@FreeBSD.org
COMMENT= TrueType core fonts for the Web
EXTRACT_DEPENDS=cabextract:${PORTSDIR}/archivers/cabextract
USES= fonts
NO_BUILD= yes
RESTRICTED= Restrictive license - cannot sell for profit or distribute in modified form
EXTRACT_CMD= ${LOCALBASE}/bin/cabextract
EXTRACT_BEFORE_ARGS= -qLF '*.ttf' -d ${WRKSRC}
EXTRACT_AFTER_ARGS=
OPTIONS_DEFINE= EXTRAFONTS
OPTIONS_SUB= yes
EXTRAFONTS_DESC= Fonts licensed under MS Windows license
EXTRAFONTS_DISTFILES= ielpkth.cab:group2
SUB_FILES= pkg-message
.include <bsd.port.options.mk>
post-extract:
${EXTRACT_CMD} -qLF '*.txt' -d ${WRKSRC} ${_DISTDIR}/webdin32.exe
do-install:
@${MKDIR} ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${FONTSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/licen.txt ${STAGEDIR}${DOCSDIR}/LICENSE
.include <bsd.port.mk>