mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
40 lines
1002 B
Makefile
40 lines
1002 B
Makefile
# Created by: Guerkan Senguen <gurkan@phys.ethz.ch>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= junicode
|
|
PORTVERSION= 0.7.6
|
|
CATEGORIES= x11-fonts
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION:S|.|-|g} \
|
|
http://anthesphoria.net/FreeBSD/ports/distfiles/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S|.|-|g}
|
|
|
|
MAINTAINER= nikola.lecic@anthesphoria.net
|
|
COMMENT= Unicode/MUFI OpenType font for medievalists (Latin, IPA, Runic, Greek)
|
|
|
|
BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
NO_BUILD= yes
|
|
USES= zip
|
|
|
|
PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
|
|
|
|
FONTSDIR?= ${PREFIX}/lib/X11/fonts/${PORTNAME}
|
|
|
|
NO_STAGE= yes
|
|
do-install:
|
|
@${MKDIR} ${FONTSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/fonts/*.ttf ${FONTSDIR}
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
|
|
.endif
|
|
|
|
post-install:
|
|
@${ECHO_MSG} "===> Running fc-cache"
|
|
-${LOCALBASE}/bin/fc-cache -f -v ${FONTSDIR}
|
|
@${ECHO_MSG}
|
|
|
|
.include <bsd.port.mk>
|