aboutsummaryrefslogtreecommitdiffstats
path: root/devel/atlas-devel/Makefile
blob: 9c5a4121b963e1d81d31e242383cbd46e6a07a4e (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
30
31
32
33
34
# Created by: Janni <jannisan@t-online.de>
# $FreeBSD$

PORTNAME=   Atlas
PORTVERSION=    0.6.3
PORTREVISION=   4
CATEGORIES= devel
MASTER_SITES=   SF/worldforge/${PORTNAME}-C%2B%2B%20%28protocol%20lib%29/${PORTVERSION}
DISTNAME=   ${PORTNAME}-C++-${PORTVERSION:S/.r/rc/}

MAINTAINER= oliver@FreeBSD.org
COMMENT=    C++ reference implementation of the Atlas protocol

OPTIONS_DEFINE= DOCS

PKGNAMESUFFIX=  -devel
GNU_CONFIGURE=  yes
USES=       libtool pathfix compiler:c++11-lib tar:bzip2
USE_LDCONFIG=   YES
MAKE_ARGS=  docdir=${DOCSDIR}
CONFIGURE_ARGS+=--program-transform-name=

post-patch:
    @${REINPLACE_CMD} -e 's|^static const bool debug_flag = false;$$||' \
        ${WRKSRC}/Atlas/Message/DecoderBase.cpp \
        ${WRKSRC}/Atlas/Codecs/Bach.cpp

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for docfile in README COPYING AUTHORS THANKS NEWS ChangeLog TODO HACKING ROADMAP
    ${INSTALL_DATA} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>