aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-06-27 09:21:13 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-06-27 09:21:13 +0000
commitd6cdd4f06984e52bcaf3dd1459bc99c689db1ed1 (patch)
tree06d8adc6824eb60e79853a02676fa351b39a85e6 /japanese
parentf52c4ad4e50865210b42a5eb030104ec229b4927 (diff)
downloadports-d6cdd4f06984e52bcaf3dd1459bc99c689db1ed1.tar.gz
ports-d6cdd4f06984e52bcaf3dd1459bc99c689db1ed1.zip
Notes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/font-ricty/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/japanese/font-ricty/Makefile b/japanese/font-ricty/Makefile
index 8ce84d352c86..b740b81d9647 100644
--- a/japanese/font-ricty/Makefile
+++ b/japanese/font-ricty/Makefile
@@ -44,7 +44,7 @@ PORTDOCS= README.md
.if !defined(PKGNAMESUFFIX)
PLIST_SUB+= DISCORD="@comment " RICTY=""
SUB_LIST+= DISCORD=\# RICTY=""
-.elif ${PKGNAMESUFFIX:S,-,,} == "discord"
+.else
PLIST_SUB+= DISCORD="" RICTY="@comment "
SUB_LIST+= DISCORD="" RICTY=\#
.endif
@@ -79,7 +79,7 @@ do-install:
${STAGEDIR}${PREFIX}/etc/fonts/conf.d/20-unhint-${PORTNAME}.conf
${LN} -s -f ../conf.avail/62-fonts-${PORTNAME}.conf \
${STAGEDIR}${PREFIX}/etc/fonts/conf.d/62-fonts-${PORTNAME}.conf
-.elif ${PKGNAMESUFFIX:S,-,,} == "discord"
+.else
${INSTALL_DATA} ${WRKSRC}/RictyDiscord-*.ttf ${STAGEDIR}${DATADIR}
cd ${STAGEDIR}${PREFIX}/${LOCAL_FONTSDIR}/TTF && ${LN} -s -f \
../${LOCAL_FONTSDIR:C,[^/]+,..,g}/${DATADIR_REL}/RictyDiscord-*.ttf .