Use a more succinct way of creating PLIST_SUB.

Reported by:	jbeich
Reviewed by:	mat
Approved by:	portmgr (tier-2 blanket)
This commit is contained in:
Mark Linimon 2018-11-27 19:53:11 +00:00
parent b463461f4a
commit 4a6034550d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=486055

View File

@ -30,13 +30,6 @@ INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
PLIST_SUB= JAVA_HOME=${JAVA_HOME:S,^${PREFIX}/,,}
PLIST_SUB+= ARCH=${ARCH:C/armv.*/arm/:S/powerpc64/ppc64/}
.include <bsd.port.pre.mk>
.if ${ARCH} == "powerpc64"
PLIST_SUB+= ARCH=ppc64
.else
PLIST_SUB+= ARCH=${ARCH}
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>