diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2014-07-15 15:45:39 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2014-07-15 15:45:39 +0000 |
commit | 4d962acc36b899ee41ce71373939ac8705d5449a (patch) | |
tree | 212f0ba2efcd9e7b164faead676c31dd0f087fc8 /chinese | |
parent | 784be3fb78b999f23338c914161b7c40f97d3ee7 (diff) |
Notes
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/opendesktop-fonts/Makefile | 5 | ||||
-rw-r--r-- | chinese/opendesktop-fonts/pkg-plist | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/chinese/opendesktop-fonts/Makefile b/chinese/opendesktop-fonts/Makefile index 9f3030d07d15..7cde21459ba4 100644 --- a/chinese/opendesktop-fonts/Makefile +++ b/chinese/opendesktop-fonts/Makefile @@ -11,7 +11,7 @@ MASTER_SITES?= ftp://ftp.opendesktop.org.tw/odp/ODOFonts/OpenFonts/ \ MAINTAINER= ports@FreeBSD.org COMMENT= Ming and Kai face of OpenDesktop fonts -CONFLICTS= zh-fireflyttf-* +CONFLICTS= zh-fireflyttf-[0-9]* DIST_SUBDIR= OpenFonts NO_BUILD= yes @@ -41,7 +41,8 @@ do-install: .endfor ${INSTALL_DATA} ${FILESDIR}/local.conf-odo ${STAGEDIR}${FONTSDIR} .if !defined(WITHOUT_X11) - ${INSTALL_DATA} ${FILESDIR}/local.conf-odo ${LOCALBASE}/etc/fonts/local.conf + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/fonts + ${INSTALL_DATA} ${FILESDIR}/local.conf-odo ${STAGEDIR}${PREFIX}/etc/fonts/local.conf .endif .include "${PORTSDIR}/chinese/ttfm/Makefile.ttf" diff --git a/chinese/opendesktop-fonts/pkg-plist b/chinese/opendesktop-fonts/pkg-plist index 5fd370cb319d..9fc256177cc7 100644 --- a/chinese/opendesktop-fonts/pkg-plist +++ b/chinese/opendesktop-fonts/pkg-plist @@ -1,3 +1,5 @@ +etc/fonts/local.conf %%X11%%@unexec if cmp -s %%LOCALBASE%%/etc/fonts/local.conf %D/%%FONTSDIR%%/local.conf-odo; then rm -f %%LOCALBASE%%/etc/fonts/local.conf; fi %%FONTSDIR%%/local.conf-odo %%X11%%@exec cp %D/%%FONTSDIR%%/local.conf-odo %%LOCALBASE%%/etc/fonts/local.conf +@dirrmtry etc/fonts |