1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/x11-fonts/anonymous-pro/Makefile
Jimmy Olgeni dbc81c7d5b Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. A few Makefiles
where not included as they contain Latin-1 characters that break
the Phabricator workflow. Category X.

CR:		D511
Approved by:	portmgr (bapt)
2014-08-08 08:42:44 +00:00

42 lines
971 B
Makefile

# Created by: Norberto Lopes <nlopes.ml@gmail.com>
# $FreeBSD$
PORTNAME= anonymous-pro
PORTVERSION= 1.002
CATEGORIES= x11-fonts
MASTER_SITES= http://www.marksimonson.com/assets/content/fonts/
DISTNAME= AnonymousPro-${PORTVERSION}
MAINTAINER= nlopes.ml@gmail.com
COMMENT= Fixed width sans designed especially for coders
LICENSE= OFL11
RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
USES= zip
NO_BUILD= yes
PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
FONTSDIR= ${PREFIX}/lib/X11/fonts/${PORTNAME}
SUB_LIST= FONTSDIR=${FONTSDIR}
SUB_FILES= pkg-message
WRKSRC= ${WRKDIR}/${DISTNAME}.001
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
do-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR}
${MKDIR} ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${FONTSDIR}
post-install:
@${ECHO_MSG} "===> Running fc-cache"
-${LOCALBASE}/bin/fc-cache -f -v ${FONTSDIR}
.include <bsd.port.mk>