mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
39 lines
831 B
Makefile
39 lines
831 B
Makefile
# Created by: Samy Al Bahra <samy@kerneled.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= kacst_fonts
|
|
PORTVERSION= 2.01
|
|
CATEGORIES= arabic
|
|
MASTER_SITES= SF/arabeyes/${PORTNAME} \
|
|
http://www.c-s.li/ports/
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Truetype Arabic fonts created by KACST
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BUILD_DEPENDS= ttmkfdir:${PORTSDIR}/x11-fonts/ttmkfdir
|
|
|
|
NO_STAGE= yes
|
|
USE_BZIP2= yes
|
|
WRKSRC= ${WRKDIR}/KacstArabicFonts-${PORTVERSION}
|
|
|
|
SUB_FILES= pkg-message
|
|
SUB_LIST= PORTNAME="${PORTNAME}"
|
|
|
|
do-build:
|
|
cd ${WRKDIR} && ttmkfdir -c -d ${WRKSRC} > ${WRKSRC}/fonts.dir
|
|
|
|
do-install:
|
|
@${MKDIR} ${PREFIX}/lib/X11/fonts/kacst_fonts
|
|
${INSTALL_DATA} ${WRKSRC}/*.ttf ${WRKSRC}/fonts.dir \
|
|
${PREFIX}/lib/X11/fonts/kacst_fonts
|
|
|
|
post-install:
|
|
@${ECHO_MSG}
|
|
@${CAT} ${PKGMESSAGE}
|
|
@${ECHO_MSG}
|
|
|
|
.include <bsd.port.mk>
|