svn commit: r507536 - head/devel/atlas-devel
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sun Jul 28 21:29:26 UTC 2019
Author: amdmi3
Date: Sun Jul 28 21:29:25 2019
New Revision: 507536
URL: https://svnweb.freebsd.org/changeset/ports/507536
Log:
- 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
Modified:
head/devel/atlas-devel/Makefile
head/devel/atlas-devel/pkg-descr
head/devel/atlas-devel/pkg-plist
Modified: head/devel/atlas-devel/Makefile
==============================================================================
--- head/devel/atlas-devel/Makefile Sun Jul 28 21:28:15 2019 (r507535)
+++ head/devel/atlas-devel/Makefile Sun Jul 28 21:29:25 2019 (r507536)
@@ -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 at 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
Modified: head/devel/atlas-devel/pkg-descr
==============================================================================
--- head/devel/atlas-devel/pkg-descr Sun Jul 28 21:28:15 2019 (r507535)
+++ head/devel/atlas-devel/pkg-descr Sun Jul 28 21:29:25 2019 (r507536)
@@ -2,4 +2,4 @@ This library implements the Atlas protocol, for use in
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/
Modified: head/devel/atlas-devel/pkg-plist
==============================================================================
--- head/devel/atlas-devel/pkg-plist Sun Jul 28 21:28:15 2019 (r507535)
+++ head/devel/atlas-devel/pkg-plist Sun Jul 28 21:29:25 2019 (r507536)
@@ -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
More information about the svn-ports-head
mailing list