- Trim old-style header.
- Use OPTIONS_DEFINE. - Style clean-ups.
This commit is contained in:
parent
f516df6e05
commit
191278d8ac
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=316975
1 changed files with 14 additions and 13 deletions
|
@ -1,15 +1,11 @@
|
|||
# New ports collection makefile for: IPA+Mona TrueType fonts
|
||||
# Date created: 15 February, 2009
|
||||
# Whom: hrs
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= font-mona-ipa
|
||||
PORTNAME= mona-ipa
|
||||
PORTVERSION= 1.0.8
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= japanese x11-fonts
|
||||
MASTER_SITES= http://www.geocities.jp/ipa_mona/
|
||||
PKGNAMEPREFIX= ja-font-
|
||||
DISTNAME= opfc-ModuleHP-1.1.1_withIPAMonaFonts-${PORTVERSION}
|
||||
|
||||
MAINTAINER= hrs@FreeBSD.org
|
||||
|
@ -24,11 +20,16 @@ SUB_FILES= pkg-install
|
|||
SUB_LIST= X_FONTSDIR=${PREFIX}/${X_FONTSDIR}
|
||||
PLIST_SUB= X_FONTSDIR=${X_FONTSDIR} \
|
||||
LOCAL_FONTSDIR=${LOCAL_FONTSDIR}
|
||||
DATADIR= ${PREFIX}/share/font-${PORTNAME}
|
||||
PORTDOCS= COPYING.font.ja README_ipamona.txt
|
||||
|
||||
LOCAL_FONTSDIR= share/fonts
|
||||
X_FONTSDIR= lib/X11/fonts
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${DATADIR}
|
||||
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${WRKSRC}
|
||||
|
@ -43,14 +44,14 @@ do-install:
|
|||
${LN} -s -f \
|
||||
${DATADIR}/fonts/ipa*-mona.ttf \
|
||||
${PREFIX}/${X_FONTSDIR}/TTF/
|
||||
${INSTALL_DATA} ${FILESDIR}/20-unhint-mona-ipa.conf \
|
||||
${FILESDIR}/62-fonts-mona-ipa.conf \
|
||||
${INSTALL_DATA} ${FILESDIR}/20-unhint-${PORTNAME}.conf \
|
||||
${FILESDIR}/62-fonts-${PORTNAME}.conf \
|
||||
${PREFIX}/etc/fonts/conf.avail
|
||||
${LN} -s -f ../conf.avail/20-unhint-mona-ipa.conf \
|
||||
${PREFIX}/etc/fonts/conf.d/20-unhint-mona-ipa.conf
|
||||
${LN} -s -f ../conf.avail/62-fonts-mona-ipa.conf \
|
||||
${PREFIX}/etc/fonts/conf.d/62-fonts-mona-ipa.conf
|
||||
.if !defined(NOPORTDOCS)
|
||||
${LN} -s -f ../conf.avail/20-unhint-${PORTNAME}.conf \
|
||||
${PREFIX}/etc/fonts/conf.d/20-unhint-${PORTNAME}.conf
|
||||
${LN} -s -f ../conf.avail/62-fonts-${PORTNAME}.conf \
|
||||
${PREFIX}/etc/fonts/conf.d/62-fonts-${PORTNAME}.conf
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKSRC}/fonts && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
||||
.endif
|
||||
|
|
Loading…
Reference in a new issue