- Add LICENSE_FILE

- Switch to options helpers

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2020-05-22 09:32:48 +00:00
parent 62a531a599
commit c6620f86e6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=536192

View file

@ -9,6 +9,7 @@ MAINTAINER= kde@FreeBSD.org
COMMENT= Mind mapping tool
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= kde:5 pkgconfig python:3.6+ qt:5 shebangfix tar:bzip2 waf \
desktop-file-utils gettext shared-mime-info
@ -41,13 +42,9 @@ PLIST_SUB= PORTVERSION="${PORTVERSION}"
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
.include <bsd.port.options.mk>
post-patch:
.if ! ${PORT_OPTIONS:MNLS}
post-patch-NLS-off:
@${REINPLACE_CMD} -e '/langs/ d' \
${WRKSRC}/wscript
.endif
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} \