From e5c1a7f16b3adc43e9c59b25cae48e5dc2233fb6 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Sun, 28 Jul 2019 21:29:25 +0000 Subject: [PATCH] - 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 --- devel/atlas-devel/Makefile | 19 +++++++++++-------- devel/atlas-devel/pkg-descr | 2 +- devel/atlas-devel/pkg-plist | 2 +- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/devel/atlas-devel/Makefile b/devel/atlas-devel/Makefile index 263005e9707d..8228c485edd6 100644 --- a/devel/atlas-devel/Makefile +++ b/devel/atlas-devel/Makefile @@ -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 diff --git a/devel/atlas-devel/pkg-descr b/devel/atlas-devel/pkg-descr index 4c699c3d8c39..3988010722b4 100644 --- a/devel/atlas-devel/pkg-descr +++ b/devel/atlas-devel/pkg-descr @@ -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/ diff --git a/devel/atlas-devel/pkg-plist b/devel/atlas-devel/pkg-plist index d7f1fb89b0f3..6a915f50c499 100644 --- a/devel/atlas-devel/pkg-plist +++ b/devel/atlas-devel/pkg-plist @@ -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