mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
|
# Ports collection makefile for: isabella-ttf
|
||
|
# Date created: 2010-03-07
|
||
|
# Whom: Lowell Gilbert <lgfbsd@be-well.ilk.org>
|
||
|
#
|
||
|
# $FreeBSD$
|
||
|
#
|
||
|
|
||
|
PORTNAME= isabella-ttf
|
||
|
PORTVERSION= 1.2
|
||
|
CATEGORIES= x11-fonts
|
||
|
MASTER_SITES= http://www.thibault.org/fonts/isabella/
|
||
|
DISTNAME= Isabella-${PORTVERSION}-ttf
|
||
|
|
||
|
MAINTAINER= lgfbsd@be-well.ilk.org
|
||
|
COMMENT= Font by John Stracke based on the Isabella Breviary
|
||
|
|
||
|
BUILD_DEPENDS= ${MKFONTSCL_CMD}:${PORTSDIR}/x11-fonts/mkfontscale \
|
||
|
${MKFONTDIR_CMD}:${PORTSDIR}/x11-fonts/mkfontdir
|
||
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||
|
|
||
|
NO_BUILD= yes
|
||
|
WRKSRC= ${WRKDIR}/Isabella
|
||
|
FONTDIR= ${PREFIX}/lib/X11/fonts/stracke
|
||
|
PLIST_SUB= FONTDIR="${FONTDIR:S|${PREFIX}/||}" \
|
||
|
MKFONTSCL_CMD=${MKFONTSCL_CMD} \
|
||
|
MKFONTDIR_CMD=${MKFONTDIR_CMD}
|
||
|
|
||
|
MKFONTSCL_CMD= ${LOCALBASE}/bin/mkfontscale
|
||
|
MKFONTDIR_CMD= ${LOCALBASE}/bin/mkfontdir
|
||
|
|
||
|
do-install:
|
||
|
${MKDIR} ${FONTDIR}
|
||
|
${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTDIR}
|
||
|
cd ${FONTDIR} && ${MKFONTSCL_CMD} && ${MKFONTDIR_CMD}
|
||
|
.if !defined(NOPORTDOCS)
|
||
|
${MKDIR} ${DOCSDIR}
|
||
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
|
||
|
.endif
|
||
|
|
||
|
.include <bsd.port.mk>
|