mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Use conf.avail/ directory and install symlinks into conf.d/ directory.
This commit is contained in:
parent
4c623e01e9
commit
ae4f0a526d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=212925
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= ipa-ttfonts
|
||||
PORTVERSION= 1.0.20060520.p1
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 2
|
||||
CATEGORIES= japanese x11-fonts
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
||||
@ -47,10 +48,13 @@ do-install:
|
||||
${LN} -s -f \
|
||||
${DATADIR}/fonts/ipa*.ttf ${DATADIR}/fonts/M+*.ttf \
|
||||
${LOCALBASE}/${X_FONTSDIR}/TrueType/
|
||||
${MKDIR} ${PREFIX}/etc/fonts/conf.d
|
||||
${INSTALL_DATA} ${FILESDIR}/20-unhint-ipattfonts.conf \
|
||||
${FILESDIR}/62-fonts-ipattfonts.conf \
|
||||
${PREFIX}/etc/fonts/conf.d
|
||||
${PREFIX}/etc/fonts/conf.avail
|
||||
${LN} -s -f ../conf.avail/20-unhint-ipattfonts.conf \
|
||||
${PREFIX}/etc/fonts/conf.d/20-unhint-ipattfonts.conf
|
||||
${LN} -s -f ../conf.avail/62-fonts-ipattfonts.conf \
|
||||
${PREFIX}/etc/fonts/conf.d/62-fonts-ipattfonts.conf
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
||||
|
@ -81,8 +81,12 @@
|
||||
%%LOCAL_FONTSDIR%%/TrueType/M+1P+IPAG-circle.ttf
|
||||
@dirrmtry %%LOCAL_FONTSDIR%%/TrueType
|
||||
@dirrmtry %%LOCAL_FONTSDIR%%
|
||||
etc/fonts/conf.d/20-unhint-ipattfonts.conf
|
||||
etc/fonts/conf.d/62-fonts-ipattfonts.conf
|
||||
etc/fonts/conf.avail/20-unhint-ipattfonts.conf
|
||||
etc/fonts/conf.avail/62-fonts-ipattfonts.conf
|
||||
@exec ln -s -f ../conf.avail/20-unhint-ipattfonts.conf %D/etc/fonts/conf.d/20-unhint-ipattfonts.conf
|
||||
@exec ln -s -f ../conf.avail/62-fonts-ipattfonts.conf %D/etc/fonts/conf.d/62-fonts-ipattfonts.conf
|
||||
@unexec rm -f %D/etc/fonts/conf.d/20-unhint-ipattfonts.conf
|
||||
@unexec rm -f %D/etc/fonts/conf.d/62-fonts-ipattfonts.conf
|
||||
%%X_FONTSDIR%%/TrueType/ipag.ttf
|
||||
%%X_FONTSDIR%%/TrueType/ipagp.ttf
|
||||
%%X_FONTSDIR%%/TrueType/ipagui.ttf
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= ipa-ttfonts
|
||||
PORTVERSION= 1.0.20060520.p1
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 2
|
||||
CATEGORIES= japanese x11-fonts
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
||||
@ -47,10 +48,13 @@ do-install:
|
||||
${LN} -s -f \
|
||||
${DATADIR}/fonts/ipa*.ttf ${DATADIR}/fonts/M+*.ttf \
|
||||
${LOCALBASE}/${X_FONTSDIR}/TrueType/
|
||||
${MKDIR} ${PREFIX}/etc/fonts/conf.d
|
||||
${INSTALL_DATA} ${FILESDIR}/20-unhint-ipattfonts.conf \
|
||||
${FILESDIR}/62-fonts-ipattfonts.conf \
|
||||
${PREFIX}/etc/fonts/conf.d
|
||||
${PREFIX}/etc/fonts/conf.avail
|
||||
${LN} -s -f ../conf.avail/20-unhint-ipattfonts.conf \
|
||||
${PREFIX}/etc/fonts/conf.d/20-unhint-ipattfonts.conf
|
||||
${LN} -s -f ../conf.avail/62-fonts-ipattfonts.conf \
|
||||
${PREFIX}/etc/fonts/conf.d/62-fonts-ipattfonts.conf
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
||||
|
@ -81,8 +81,12 @@
|
||||
%%LOCAL_FONTSDIR%%/TrueType/M+1P+IPAG-circle.ttf
|
||||
@dirrmtry %%LOCAL_FONTSDIR%%/TrueType
|
||||
@dirrmtry %%LOCAL_FONTSDIR%%
|
||||
etc/fonts/conf.d/20-unhint-ipattfonts.conf
|
||||
etc/fonts/conf.d/62-fonts-ipattfonts.conf
|
||||
etc/fonts/conf.avail/20-unhint-ipattfonts.conf
|
||||
etc/fonts/conf.avail/62-fonts-ipattfonts.conf
|
||||
@exec ln -s -f ../conf.avail/20-unhint-ipattfonts.conf %D/etc/fonts/conf.d/20-unhint-ipattfonts.conf
|
||||
@exec ln -s -f ../conf.avail/62-fonts-ipattfonts.conf %D/etc/fonts/conf.d/62-fonts-ipattfonts.conf
|
||||
@unexec rm -f %D/etc/fonts/conf.d/20-unhint-ipattfonts.conf
|
||||
@unexec rm -f %D/etc/fonts/conf.d/62-fonts-ipattfonts.conf
|
||||
%%X_FONTSDIR%%/TrueType/ipag.ttf
|
||||
%%X_FONTSDIR%%/TrueType/ipagp.ttf
|
||||
%%X_FONTSDIR%%/TrueType/ipagui.ttf
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= ipa-ttfonts
|
||||
PORTVERSION= 1.0.20060520.p1
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 2
|
||||
CATEGORIES= japanese x11-fonts
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
||||
@ -47,10 +48,13 @@ do-install:
|
||||
${LN} -s -f \
|
||||
${DATADIR}/fonts/ipa*.ttf ${DATADIR}/fonts/M+*.ttf \
|
||||
${LOCALBASE}/${X_FONTSDIR}/TrueType/
|
||||
${MKDIR} ${PREFIX}/etc/fonts/conf.d
|
||||
${INSTALL_DATA} ${FILESDIR}/20-unhint-ipattfonts.conf \
|
||||
${FILESDIR}/62-fonts-ipattfonts.conf \
|
||||
${PREFIX}/etc/fonts/conf.d
|
||||
${PREFIX}/etc/fonts/conf.avail
|
||||
${LN} -s -f ../conf.avail/20-unhint-ipattfonts.conf \
|
||||
${PREFIX}/etc/fonts/conf.d/20-unhint-ipattfonts.conf
|
||||
${LN} -s -f ../conf.avail/62-fonts-ipattfonts.conf \
|
||||
${PREFIX}/etc/fonts/conf.d/62-fonts-ipattfonts.conf
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
||||
|
@ -81,8 +81,12 @@
|
||||
%%LOCAL_FONTSDIR%%/TrueType/M+1P+IPAG-circle.ttf
|
||||
@dirrmtry %%LOCAL_FONTSDIR%%/TrueType
|
||||
@dirrmtry %%LOCAL_FONTSDIR%%
|
||||
etc/fonts/conf.d/20-unhint-ipattfonts.conf
|
||||
etc/fonts/conf.d/62-fonts-ipattfonts.conf
|
||||
etc/fonts/conf.avail/20-unhint-ipattfonts.conf
|
||||
etc/fonts/conf.avail/62-fonts-ipattfonts.conf
|
||||
@exec ln -s -f ../conf.avail/20-unhint-ipattfonts.conf %D/etc/fonts/conf.d/20-unhint-ipattfonts.conf
|
||||
@exec ln -s -f ../conf.avail/62-fonts-ipattfonts.conf %D/etc/fonts/conf.d/62-fonts-ipattfonts.conf
|
||||
@unexec rm -f %D/etc/fonts/conf.d/20-unhint-ipattfonts.conf
|
||||
@unexec rm -f %D/etc/fonts/conf.d/62-fonts-ipattfonts.conf
|
||||
%%X_FONTSDIR%%/TrueType/ipag.ttf
|
||||
%%X_FONTSDIR%%/TrueType/ipagp.ttf
|
||||
%%X_FONTSDIR%%/TrueType/ipagui.ttf
|
||||
|
Loading…
Reference in New Issue
Block a user