mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
3e4ed01146
- 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)
40 lines
1018 B
Makefile
40 lines
1018 B
Makefile
# 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
|
|
PORTREVISION= 2
|
|
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
|
|
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"
|
|
@${LOCALBASE}/bin/fc-cache -f -v ${PREFIX}/${FONTSDIR}
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|