freebsd-ports/japanese/font-vlgothic/Makefile
Rong-En Fan 6d50cf0c07 - Update to 20070731
- Remove USE_X_PREFIX (it does not need XLIB, but needs to be in X11BASE)

PR:		ports/115064
Submitted by:	NIIMI Satoshi <sa2c at sa2c.net> (maintainer)
2007-07-31 03:16:08 +00:00

47 lines
1.2 KiB
Makefile

# New ports collection makefile for: VLGothic fotns
# Date created: 31 Oct 2006
# Whom: NIIMI Satoshi <sa2c@sa2c.net>
#
# $FreeBSD$
#
PORTNAME= vlgothic
PORTVERSION= 20070731
CATEGORIES= japanese x11-fonts
MASTER_SITES= http://vinelinux.org/~daisuke/vlgothic/
DISTNAME= VLGothic-${PORTVERSION}
MAINTAINER= sa2c@sa2c.net
COMMENT= Free Japanese TrueType fonts named 'VLGothic'
BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
USE_BZIP2= yes
NO_BUILD= yes
FONTSDIR= lib/X11/fonts/vlgothic
PLIST_SUB= FONTSDIR=${FONTSDIR}
WRKSRC= ${WRKDIR}/VLGothic
DOC_FILES= Changelog LICENSE LICENSE.en LICENSE_E.mplus LICENSE_J.mplus \
README README.sazanami README_J.mplus
do-install:
${MKDIR} ${PREFIX}/${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/VL-PGothic-Regular.ttf \
${WRKSRC}/VL-Gothic-Regular.ttf \
${PREFIX}/${FONTSDIR}
${MKDIR} ${PREFIX}/etc/fonts/conf.d
${INSTALL_DATA} ${FILESDIR}/63-vlgothic.conf \
${PREFIX}/etc/fonts/conf.d
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${DOC_FILES:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
post-install:
${X11BASE}/bin/fc-cache -f -v ${PREFIX}/${FONTSDIR}
.include <bsd.port.mk>