freebsd-ports/x11-fonts/font-gost/Makefile
Max Brazhnikov 5d36bd60ed Fix pkg-message
PR:		based on ports/148764
Submitted by:	Gvozdikov Veniamin (maintainer)
2010-07-24 21:18:05 +00:00

40 lines
944 B
Makefile

# New ports collection makefile for: font-gost
# Date created: 2010-01-15
# Whom: Gvozdikov Veniamin <g.veniamin@googlemail.com>
#
# $FreeBSD$
#
PORTNAME= gost
PORTVERSION= 0.1
PORTREVISION= 1
CATEGORIES= x11-fonts
MASTER_SITES= http://sd.ascon.ru/ftp/Public/Utils/DWG-DXF/ \
http://fbsd.zlonet.ru/distfiles/
PKGNAMEPREFIX= font-
DISTNAME= TTF_FON
MAINTAINER= g.veniamin@googlemail.com
COMMENT= GOST TrueType fonts
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/gost
SUB_FILES= pkg-message
SUB_LIST= FONTSDIR=${FONTSDIR}
WRKSRC= ${WRKDIR}/Fonts
do-install:
${MKDIR} ${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/*.ttf ${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>