d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
47 lines
1 KiB
Makefile
47 lines
1 KiB
Makefile
# New ports collection makefile for: junicode
|
|
# Date created: 28 August 2006
|
|
# Whom: Guerkan Senguen <gurkan@linuks.mine.nu>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= junicode
|
|
DISTVERSION= 0-6-12
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11-fonts
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= gurkan@linuks.mine.nu
|
|
COMMENT= Unicode font for medievalists (Latin, IPA and Runic)
|
|
|
|
BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_ZIP= yes
|
|
NO_BUILD= yes
|
|
|
|
PORTDOCS= Junicode.pdf
|
|
PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
|
|
|
|
FONTNAME= ${PORTNAME}
|
|
FONTSDIR?= ${PREFIX}/lib/X11/fonts/${FONTNAME}
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
do-install:
|
|
${MKDIR} ${FONTSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTSDIR}
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
post-install:
|
|
@${ECHO_MSG} "===> Running fc-cache"
|
|
-${X11BASE}/bin/fc-cache -f -v ${FONTSDIR}
|
|
@${ECHO_MSG}
|
|
|
|
.include <bsd.port.mk>
|