freebsd-ports/devel/elfio/Makefile
James Wright 7e2eb7307f devel/elfio: Update to 3.9
PR:	258525
Reported by:	james.wright@digital-chaos.com (maintainer)
2021-09-17 13:20:33 +02:00

31 lines
729 B
Makefile

# Created by: ijliao
PORTNAME= elfio
PORTVERSION= 3.9
CATEGORIES= devel
MASTER_SITES= SF/elfio/ELFIO-sources/ELFIO-${PORTVERSION}
MAINTAINER= james.wright@digital-chaos.com
COMMENT= Small C++ library for reading and generating ELF files
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
USES= compiler:c++11-lang
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --bindir=${EXAMPLESDIR}
OPTIONS_DEFINE= DOCS EXAMPLES
OPTIONS_SUB= yes
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/doc/elfio.pdf ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@${FIND} ${WRKSRC}/examples/ -name "*.cpp" -exec ${INSTALL_DATA} {} \
${STAGEDIR}${EXAMPLESDIR}/ \;
.include <bsd.port.mk>