aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-06-27 17:21:13 +0800
committerbapt <bapt@FreeBSD.org>2014-06-27 17:21:13 +0800
commita0adc2a65ce7d8216a141600d1993c58d43565a7 (patch)
tree06d8adc6824eb60e79853a02676fa351b39a85e6 /japanese
parentbc40710e8c4f278e3066f4c761560f50053556fa (diff)
downloadfreebsd-ports-gnome-a0adc2a65ce7d8216a141600d1993c58d43565a7.tar.gz
freebsd-ports-gnome-a0adc2a65ce7d8216a141600d1993c58d43565a7.tar.zst
freebsd-ports-gnome-a0adc2a65ce7d8216a141600d1993c58d43565a7.zip
Only one slave ports so far, relax the check on PKGNAMESUFFIX because previous syntax
is not compatible with the old make
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 .