mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
34 lines
749 B
Makefile
34 lines
749 B
Makefile
# Created by: Kuan-Chung Chiu <buganini@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= khmeros
|
|
PORTVERSION= 5.0
|
|
CATEGORIES= x11-fonts
|
|
MASTER_SITES= SF/khmer/Fonts%20-%20KhmerOS/KhmerOS%20Fonts%205.0-%20LGPL%20Licence
|
|
DISTNAME= All_KhmerOS_5.0
|
|
|
|
MAINTAINER= buganini@gmail.com
|
|
COMMENT= Khmer OS fonts
|
|
|
|
RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
|
|
|
|
USE_ZIP= yes
|
|
NO_BUILD= yes
|
|
|
|
FONTSDIR= lib/X11/fonts/Khmer/
|
|
PLIST_SUB+= FONTSDIR=${FONTSDIR}
|
|
|
|
NO_STAGE= yes
|
|
post-patch:
|
|
${MV} "${WRKSRC}/KhmerOS .ttf" ${WRKSRC}/KhmerOS.ttf
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/${FONTSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/*.ttf ${PREFIX}/${FONTSDIR}
|
|
|
|
post-install:
|
|
@${ECHO_MSG} "==> Running fc-cache"
|
|
@-${LOCALBASE}/bin/fc-cache -f -v ${PREFIX}/${FONTSDIR}
|
|
|
|
.include <bsd.port.mk>
|