aboutsummaryrefslogtreecommitdiff
path: root/chinese/CNS11643-font
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-07-20 09:02:14 +0000
committerJohn Marino <marino@FreeBSD.org>2014-07-20 09:02:14 +0000
commit8ecbb368fb54661f08561e9b9032282c344da99a (patch)
tree5db0a0f77af5fa9e35921c97814d913e78c45985 /chinese/CNS11643-font
parent8ab384908893d4afa81c11190ace722732ed6686 (diff)
downloadports-8ecbb368fb54661f08561e9b9032282c344da99a.tar.gz
ports-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.
Notes
Notes: svn path=/head/; revision=362305
Diffstat (limited to 'chinese/CNS11643-font')
-rw-r--r--chinese/CNS11643-font/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/chinese/CNS11643-font/Makefile b/chinese/CNS11643-font/Makefile
index 36a79c7ff289..4809d2cd8db6 100644
--- a/chinese/CNS11643-font/Makefile
+++ b/chinese/CNS11643-font/Makefile
@@ -35,6 +35,5 @@ post-install:
@${CAT} ${PKGMESSAGE}
@${ECHO_CMD} "*******************************************************************************"
-.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>