79e1a9594d
WWW: http://dicey.org/vlgothic/ PR: ports/104955 Submitted by: NIIMI Satoshi <sa2c at sa2c.net>
49 lines
1.2 KiB
Makefile
49 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= 20061026
|
|
CATEGORIES= japanese x11-fonts
|
|
MASTER_SITES= http://vinelinux.org/~daisuke/vlgothic/ \
|
|
http://dicey.org/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_X_PREFIX= yes
|
|
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}/25.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>
|