freebsd-ports/devel/atlas-devel/Makefile
2014-04-12 08:28:55 +00:00

35 lines
939 B
Makefile

# Created by: Janni <jannisan@t-online.de>
# $FreeBSD$
PORTNAME= Atlas
PORTVERSION= 0.6.3
PORTREVISION= 2
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= pathfix compiler:c++11-lib
USE_LDCONFIG= YES
USE_BZIP2= 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>