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$
|
2006-10-14 10:54:54 +02:00
|
|
|
# $MCom: ports/x11-fonts/dejavu/Makefile,v 1.1 2006/10/13 23:29:09 ahze Exp $
|
2004-12-23 11:24:17 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= dejavu
|
2008-05-27 07:35:26 +02:00
|
|
|
DISTVERSION= 2.25
|
2004-12-23 11:24:17 +01:00
|
|
|
CATEGORIES= x11-fonts
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
MASTER_SITES= SF
|
2008-01-01 15:47:42 +01:00
|
|
|
DISTNAME= ${PORTNAME}-fonts-ttf-${DISTVERSION}
|
2004-12-23 11:24:17 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
2006-11-20 03:44:12 +01:00
|
|
|
RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
|
2004-12-23 11:24:17 +01:00
|
|
|
|
2006-11-20 03:44:12 +01:00
|
|
|
USE_BZIP2= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= x11
|
2004-12-23 11:24:17 +01:00
|
|
|
NO_BUILD= yes
|
2007-01-27 19:52:33 +01:00
|
|
|
PORTDOCS= README status.txt unicover.txt langcover.txt
|
2008-01-01 15:47:42 +01:00
|
|
|
PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}/"
|
2004-12-23 11:24:17 +01:00
|
|
|
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}
|
2008-01-01 15:47:42 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/ttf/*.ttf ${FONTSDIR}
|
2004-12-23 11:24:17 +01:00
|
|
|
.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"
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
-${LOCALBASE}/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>
|