aboutsummaryrefslogtreecommitdiff
path: root/japanese/font-ricty
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/font-ricty
parentf52c4ad4e50865210b42a5eb030104ec229b4927 (diff)
downloadports-d6cdd4f06984e52bcaf3dd1459bc99c689db1ed1.tar.gz
ports-d6cdd4f06984e52bcaf3dd1459bc99c689db1ed1.zip
Only one slave ports so far, relax the check on PKGNAMESUFFIX because previous syntax
is not compatible with the old make
Notes
Notes: svn path=/head/; revision=359484
Diffstat (limited to 'japanese/font-ricty')
-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 .