2004-12-23 11:24:17 +01:00
|
|
|
# New ports collection makefile for: dejavu
|
|
|
|
# Date created: Dec 23 2004
|
|
|
|
# Whom: Michael Johnson <ahze@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2005-08-28 16:57:24 +02:00
|
|
|
# $MCom: ports-stable/x11-fonts/dejavu/Makefile,v 1.2 2005/08/14 23:38:07 ahze Exp $
|
2004-12-23 11:24:17 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= dejavu
|
2005-08-28 16:57:24 +02:00
|
|
|
PORTVERSION= 1.13
|
2004-12-23 11:24:17 +01:00
|
|
|
CATEGORIES= x11-fonts
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
DISTNAME= ${PORTNAME}-ttf-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= ahze@FreeBSD.org
|
2004-12-24 10:57:36 +01:00
|
|
|
COMMENT= Bitstream Vera Fonts clone with a wider range of characters
|
2004-12-23 11:24:17 +01:00
|
|
|
|
|
|
|
BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
|
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
2005-03-14 03:04:34 +01:00
|
|
|
PORTDOCS= README status.txt unicover.txt
|
2004-12-23 11:24:17 +01:00
|
|
|
PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
|
|
|
|
|
|
|
|
MSG_FILE= ${PKGDIR}/pkg-message
|
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
|
|
|
|
FONTNAME= ${PORTNAME}
|
|
|
|
FONTSDIR?= ${PREFIX}/lib/X11/fonts/${FONTNAME}
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${SED} 's|%%FONTSDIR%%|${FONTSDIR}|g' ${MSG_FILE} > ${PKGMESSAGE}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${FONTSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTSDIR}
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/fonts.dir ${FONTSDIR}
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
2005-03-14 03:04:34 +01:00
|
|
|
.for f in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
|
|
.endfor
|
2004-12-23 11:24:17 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
2005-03-14 03:04:34 +01:00
|
|
|
@${ECHO_MSG} "===> Running fc-cache"
|
2004-12-23 11:24:17 +01:00
|
|
|
-${X11BASE}/bin/fc-cache -f -v ${FONTSDIR}
|
2005-03-14 03:04:34 +01:00
|
|
|
@${ECHO_MSG}
|
2004-12-23 11:24:17 +01:00
|
|
|
${CAT} ${PKGMESSAGE}
|
2005-03-14 03:04:34 +01:00
|
|
|
@${ECHO_MSG}
|
2004-12-23 11:24:17 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|