mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
35 lines
807 B
Makefile
35 lines
807 B
Makefile
# Created by: 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= vg@FreeBSD.org
|
|
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}
|
|
|
|
NO_STAGE= yes
|
|
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>
|