1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

- Add LICENSE_FILE

- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2015-10-14 23:51:20 +00:00
parent 4675e5abe8
commit 1cda3966bb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=399316

View File

@ -12,6 +12,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= API Library for Working with SBML File
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING.txt
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
@ -43,7 +44,7 @@ post-patch:
s|$${CMAKE_INSTALL_LIBDIR}/pkgconfig|libdata/pkgconfig| ; \
/$${DOCUMENTATION_FILES}/s|^|#|' ${WRKSRC}/CMakeLists.txt
post-install:
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@${TAR} -C ${WRKSRC}/examples --exclude "*Makefile*" -cf - . | \
${TAR} -C ${STAGEDIR}${EXAMPLESDIR} --unlink -xf -