mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
01aaa2e314
- Update WWW - Trim Makefile header PR: ports/172071 Submitted by: KATO Tsuguru <tkato432@yahoo.com> Approved by: makc, avilla (mentors, implicit) Feature safe: yes
37 lines
789 B
Makefile
37 lines
789 B
Makefile
# Created by: past@ebs.gr
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mgopen
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= x11-fonts
|
|
MASTER_SITES= http://pub.ellak.gr/fonts/${PORTNAME}/files/
|
|
DISTNAME= MgOpen
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= MgOpen greek fonts collection
|
|
|
|
BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
|
|
RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
|
|
|
|
NO_BUILD= yes
|
|
|
|
FONTSDIR= ${PREFIX}/lib/X11/fonts/${PORTNAME}
|
|
PLIST_SUB= FONTSDIR=${FONTSDIR:S|^${PREFIX}/||}
|
|
|
|
SUB_FILES= pkg-message
|
|
SUB_LIST= FONTSDIR=${FONTSDIR}
|
|
|
|
do-install:
|
|
${MKDIR} ${FONTSDIR}
|
|
${INSTALL_DATA} ${WRKDIR}/*.ttf ${FONTSDIR}
|
|
|
|
post-install:
|
|
@${ECHO_MSG} "===> Running fc-cache"
|
|
-${LOCALBASE}/bin/fc-cache -f -v ${FONTSDIR}
|
|
@${ECHO_MSG}
|
|
@${CAT} ${PKGMESSAGE}
|
|
@${ECHO_MSG}
|
|
|
|
.include <bsd.port.mk>
|