blob: 81840df1fa220d922de106af47466aadd9c9389b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
PORTNAME= elfio
PORTVERSION= 3.10
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>
|