1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

- Fix LICENSE

- Remove always false condition

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2016-02-17 19:12:16 +00:00
parent c243b793e7
commit ecb77e7a89
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=409064

View File

@ -10,7 +10,8 @@ MASTER_SITES= https://github.com/libyal/libsmdev/releases/download/${PORTVERSION
MAINTAINER= antoine@FreeBSD.org
COMMENT= Library to access to storage media devices
LICENSE= LGPL3
LICENSE= LGPL3+
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-python --with-libintl-prefix=${LOCALBASE}
@ -23,15 +24,8 @@ PORTDOCS= AUTHORS ChangeLog
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
# posix_fadvise(2) did not return correct value on error
.if (${OSVERSION} >= 1100000 && ${OSVERSION} < 1100007) || (${OSVERSION} >= 1000000 && ${OSVERSION} < 1000703) || (${OSVERSION} < 902507)
CONFIGURE_ENV+= ac_cv_func_posix_fadvise=no
.endif
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>
.include <bsd.port.mk>