- Strip library

- Add LICENSE_FILE
This commit is contained in:
Dmitry Marakasov 2015-05-15 16:30:53 +00:00
parent b984f790f3
commit af3f24d0f2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=386423

View file

@ -3,7 +3,7 @@
PORTNAME= libexplain
PORTVERSION= 1.3.${PATCHLEVEL}
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION:R}
DISTNAME= ${PORTNAME}-${PORTVERSION:R}
@ -11,7 +11,8 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:R}
MAINTAINER= ports@FreeBSD.org
COMMENT= Library which may be used to explain Unix and Linux system call errors
LICENSE= LGPL3
LICENSE= LGPL3 # or later
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= gsed:${PORTSDIR}/textproc/gsed
RUN_DEPENDS= lsof:${PORTSDIR}/sysutils/lsof
@ -34,4 +35,7 @@ post-patch:
's|$$(libdir)/pkgconfig|$$(libdir)/../libdata/pkgconfig|g ; \
s|\([[:blank:]]\)sed|\1gsed|g' ${WRKSRC}/Makefile.in
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libexplain.so
.include <bsd.port.mk>