blob: b459129087c6a81f82f43b94e23e76644db7aa4b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# New ports collection makefile for: font-pingwi
# Date created: 2010-07-20
# Whom: Gvozdikov Veniamin <g.veniamin@googlemail.com>
#
# $FreeBSD$
#
PORTNAME= pingwi
PORTVERSION= 0.1
CATEGORIES= x11-fonts
MASTER_SITES= http://www.pingwinsoft.ru/system/uploads/16/original/ \
http://fbsd.zlonet.ru/distfiles/
PKGNAMEPREFIX= font-
DISTNAME= fonts_test
MAINTAINER= g.veniamin@googlemail.com
COMMENT= PingWi Typography 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/pingwi
SUB_FILES= pkg-message
SUB_LIST= FONTSDIR=${FONTSDIR}
do-install:
${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>
|