- Add LICENSE

- Pet portlint
- Switch to options helpers
- Don't install COPYING with docs
- Add missing file to plist
- Update WWW

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2019-07-28 21:29:25 +00:00
parent fdb95debe1
commit e5c1a7f16b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=507536
3 changed files with 13 additions and 10 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= Atlas
PORTVERSION= 0.6.4
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= SF/worldforge/${PORTNAME}-C%2B%2B%20%28protocol%20lib%29/${PORTVERSION}
PKGNAMESUFFIX= -devel
@ -12,28 +12,31 @@ DISTNAME= ${PORTNAME}-C++-${PORTVERSION:S/.r/rc/}
MAINTAINER= oliver@FreeBSD.org
COMMENT= C++ reference implementation of the Atlas protocol
OPTIONS_DEFINE= DOCS
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
USES= libtool pathfix compiler:c++11-lib tar:bzip2
USE_LDCONFIG= YES
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
MAKE_ARGS= docdir=${DOCSDIR}
CONFIGURE_ARGS+=--program-transform-name=
CXXFLAGS_powerpc64= -Wno-error=deprecated
CXXFLAGS_powerpc= -Wno-error=deprecated
CXXFLAGS_powerpcspe= -Wno-error=deprecated
CXXFLAGS_mips= -Wno-error=deprecated
CXXFLAGS_mips= -Wno-error=deprecated
CXXFLAGS_mips64= -Wno-error=deprecated
CXXFLAGS_sparc64= -Wno-error=deprecated
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|^static const bool debug_flag = false;$$||' \
${WRKSRC}/Atlas/Message/DecoderBase.cpp \
${WRKSRC}/Atlas/Codecs/Bach.cpp
post-install:
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for docfile in README COPYING AUTHORS THANKS NEWS ChangeLog TODO HACKING ROADMAP
.for docfile in README AUTHORS THANKS NEWS ChangeLog TODO HACKING ROADMAP
${INSTALL_DATA} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR}
.endfor

View file

@ -2,4 +2,4 @@ This library implements the Atlas protocol, for use in client-server
game applications. This library is suitable for linking to either
clients or servers.
WWW: http://www.worldforge.org/dev/eng/libraries/atlas_cpp
WWW: https://www.worldforge.org/index.php/components/atlas-cpp/

View file

@ -34,6 +34,7 @@ include/Atlas-C++-0.6/Atlas/Objects/RootOperation.h
include/Atlas-C++-0.6/Atlas/Objects/SmartPtr.h
include/Atlas-C++-0.6/Atlas/Objects/loadDefaults.h
include/Atlas-C++-0.6/Atlas/Objects/objectFactory.h
include/Atlas-C++-0.6/Atlas/PresentationBridge.h
include/Atlas-C++-0.6/Atlas/Task.h
include/Atlas-C++-0.6/Atlas/Version.h
include/Atlas-C++-0.6/Atlas/float.h
@ -60,7 +61,6 @@ lib/libAtlasObjects-0.6.so.3
lib/libAtlasObjects-0.6.so.3.0.0
libdata/pkgconfig/atlascpp-0.6.pc
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/THANKS
%%PORTDOCS%%%%DOCSDIR%%/NEWS