diff options
author | John Marino <marino@FreeBSD.org> | 2014-07-20 17:02:14 +0800 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2014-07-20 17:02:14 +0800 |
commit | 8ecbb368fb54661f08561e9b9032282c344da99a (patch) | |
tree | 5db0a0f77af5fa9e35921c97814d913e78c45985 /chinese/CJKUnifonts | |
parent | 8ab384908893d4afa81c11190ace722732ed6686 (diff) | |
download | freebsd-ports-gnome-8ecbb368fb54661f08561e9b9032282c344da99a.tar.gz freebsd-ports-gnome-8ecbb368fb54661f08561e9b9032282c344da99a.tar.zst freebsd-ports-gnome-8ecbb368fb54661f08561e9b9032282c344da99a.zip |
Convert 6 chinese font ponts to include with .CURDIR
These ports were including chinese/ttfm/Makefile.ttf using an absolute
path using PORTSDIR instead of a relative one using .CURDIR. In
specific use cases, PORTSDIR will fail but .CURDIR always works. As
a bonus, this allows <pre> & <post> inclusions to be removed as well.
Covered by an old blanket permission (bapt) but only two of these ports
have maintainers anyway.
Diffstat (limited to 'chinese/CJKUnifonts')
-rw-r--r-- | chinese/CJKUnifonts/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chinese/CJKUnifonts/Makefile b/chinese/CJKUnifonts/Makefile index 73d6beb7d647..8df4a4d0f515 100644 --- a/chinese/CJKUnifonts/Makefile +++ b/chinese/CJKUnifonts/Makefile @@ -26,6 +26,5 @@ do-install: ${INSTALL_DATA} ${WRKDIR}/ukai.ttc ${STAGEDIR}${FONTSDIR} ${INSTALL_DATA} ${WRKDIR}/uming.ttc ${STAGEDIR}${FONTSDIR} -.include <bsd.port.pre.mk> -.include "${PORTSDIR}/chinese/ttfm/Makefile.ttf" -.include <bsd.port.post.mk> +.include "${.CURDIR}/../ttfm/Makefile.ttf" +.include <bsd.port.mk> |