blob: 799f94157622d70bd870e0117916e815d21345cb (
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
40
41
|
# New ports collection makefile for: linuxlibertine
# Date created: 17 February 2008
# Whom: Björn König <bkoenig@alpha-tierchen.de>
# $FreeBSD$
#
PORTNAME= linuxlibertine
PORTVERSION= 4.1.8
CATEGORIES= x11-fonts
MASTER_SITES= SF
DISTNAME= LinLibertineFont-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= bkoenig@alpha-tierchen.de
COMMENT= Linux Libertine Open Fonts
BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
WRKSRC= ${WRKDIR}/${DISTNAME:C/-.*//}
FONTSDIR?= ${PREFIX}/lib/X11/fonts/${PORTNAME}
PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
NO_BUILD= yes
do-install:
${MKDIR} ${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/*.otf ${FONTSDIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Bugs ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ChangeLog.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/LICENCE.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/OFL.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Readme ${DOCSDIR}
.endif
post-install:
${ECHO_MSG} "===> Running fc-cache"
-${X11BASE}/bin/fc-cache -f -v ${FONTSDIR}
.include <bsd.port.mk>
|