blob: ac89b76f37f7e238bde71f508c6bfa4065383b4a (
plain)
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
30
31
32
33
34
35
36
37
38
39
40
41
|
# Created by: Vladimir Gorelov <virtual.lark@gmail.com>
# $FreeBSD$
PORTNAME= art
PORTVERSION= 0.9.01
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://skylark.tsu.ru/art/0.9/download/src/ \
SF/art-project/src/
MAINTAINER= virtual.lark@gmail.com
COMMENT= Resource tracing, debugging, and profiling tool
LICENSE= GPLv3
LIB_DEPENDS= libxml++-2.6.so:textproc/libxml++26
USES= compiler:c++11-lang gmake pkgconfig
USE_CXXSTD= c++11
TEST_TARGET= test # XXX: 17 of 18 tests fail
OPTIONS_DEFINE= DOCS
post-patch:
@${FIND} ${WRKSRC} -type f -name Makefile | ${XARGS} \
${REINPLACE_CMD} -e '/$$(CXX)/s,CFLAGS,CXXFLAGS,' \
-e 's,^CFLAGS+=,CXXFLAGS+=,'
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/artlibgen/src/artlibgen \
${WRKSRC}/artrepgen/artrepgen ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for docs in posix-gcc-mt-file-lint.xml posix-gcc-mt-netw-lint.xml \
posix-gcc-mt-file-special.xml
${INSTALL_DATA} ${WRKSRC}/artlibgen/templates/${docs} \
${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>
|