Anonymous Pro (2009) is a family of four fixed-width fonts designed especially with coding in mind. Characters that could be mistaken for one another (O, 0, I, l, 1, etc.) have distinct shapes to make them easier to tell apart in the context of source code. Author: Mark Simonson <mark@marksimonson.com> WWW: http://www.ms-studio.com/FontSales/anonymouspro.html PR: ports/162614 Submitted by: Norberto Lopes <nlopes.ml@gmail.com> Feature safe: yes
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# New ports collection makefile for: anonymousPro
|
|
# Date Created: 14 Nov 2011
|
|
# Whom: Norberto Lopes <nlopes.ml@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= anonymous-pro
|
|
PORTVERSION= 1.002
|
|
CATEGORIES= x11-fonts
|
|
MASTER_SITES= http://www.ms-studio.com/FontSales/
|
|
DISTNAME= AnonymousPro-${PORTVERSION}
|
|
|
|
MAINTAINER= nlopes.ml@gmail.com
|
|
COMMENT= A fixed width sans designed especially for coders
|
|
|
|
LICENSE= OFL
|
|
LICENSE_NAME= Open Font License (OFL)
|
|
LICENSE_FILE= ${WRKSRC}/OFL.txt
|
|
LICENSE_PERMS= auto-accept
|
|
|
|
RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
|
|
|
|
USE_ZIP= yes
|
|
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
|
|
|
|
do-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
|
|
.endif
|
|
@${MKDIR} ${FONTSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTSDIR}
|
|
|
|
post-install:
|
|
@${ECHO_MSG} "===> Running fc-cache"
|
|
-${LOCALBASE}/bin/fc-cache -f -v ${FONTSDIR}
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|