1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/x11-fonts/profont/Makefile
Dmitry Marakasov 606a7ea046 Profont - The ultimate programming font.
Author: Tobias Jung <postkasten@tobias-jung.de>
WWW: http://www.tobias-jung.de/seekingprofont/

PR:		127637
Submitted by:	Manuel Giraud <manuel dot giraud at gmail dot com>
2008-10-11 13:06:43 +00:00

36 lines
955 B
Makefile

# New ports collection makefile for: profont-x11
# Date Created: 25 Sep 2008
# Whom: Manuel Giraud <manuel.giraud@gmail.com>
#
# $FreeBSD$
#
PORTNAME= profont
PORTVERSION= 400
CATEGORIES= x11-fonts
MASTER_SITES= http://www.tobiasjung.net/dl/
DISTNAME= ${PORTNAME}-x11
MAINTAINER= manuel.giraud@gmail.com
COMMENT= Profont - The ultimate programming font.
BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
fc-cache:${PORTSDIR}/x11-fonts/fontconfig
FONTDIR= lib/X11/fonts/${PORTNAME}
PLIST_SUB+= FONTDIR=${FONTDIR}
do-build:
${GZIP_CMD} ${WRKSRC}/*.pcf
do-install:
${MKDIR} ${LOCALBASE}/${FONTDIR}
${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${LOCALBASE}/${FONTDIR}
post-install:
@cd ${LOCALBASE}/${FONTDIR}; mkfontdir
@${CP} ${LOCALBASE}/${FONTDIR}/fonts.dir ${LOCALBASE}/${FONTDIR}/fonts.scale || true
@command fc-cache -f -v ${LOCALBASE}/${FONTDIR} || true
.include <bsd.port.mk>