blob: e24132c1ba11e440064218699c685e69f8c52994 (
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
38
39
|
# New ports collection makefile for: tolkien-ttf
# Date created: 24 February 2005
# Whom: Andrea Franchi <obscure9@gmail.com>
#
# $FreeBSD$
#
PORTNAME= tolkien-ttf
PORTVERSION= 0.1
CATEGORIES= x11-fonts
MASTER_SITES= http://www.northernstorm.org/distfiles/
MAINTAINER= obscure9@gmail.com
COMMENT= A selection of the best TrueType fonts for JRR Tolkien Languages
RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
RESTRICTED= "Shareware. Unlicensed commercial usage/redistribution prohibited."
USE_BZIP2= yes
USE_X_PREFIX= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
FONTSDIR= lib/X11/fonts/${PORTNAME}/
PLIST_SUB+= FONTSDIR=${FONTSDIR}
do-install:
${MKDIR} ${PREFIX}/${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/*.ttf ${PREFIX}/${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/*.TTF ${PREFIX}/${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/fonts.cache-1 ${PREFIX}/${FONTSDIR}
post-install:
@${ECHO_MSG} "==> Running fc-cache"
@${X11BASE}/bin/fc-cache -f -v ${PREFIX}/${FONTSDIR}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|