Date: Tue, 17 Nov 2015 21:31:15 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r401827 - in head/devel/poslib: . files Message-ID: <201511172131.tAHLVFsZ004595@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Tue Nov 17 21:31:14 2015 New Revision: 401827 URL: https://svnweb.freebsd.org/changeset/ports/401827 Log: - Add LICENSE_FILE - Switch to options helpers - Regenerate patches with `make makepatch` Modified: head/devel/poslib/Makefile head/devel/poslib/files/patch-tools__fileclient.cpp head/devel/poslib/files/patch-tools__fileserver.cpp Modified: head/devel/poslib/Makefile ============================================================================== --- head/devel/poslib/Makefile Tue Nov 17 21:31:00 2015 (r401826) +++ head/devel/poslib/Makefile Tue Nov 17 21:31:14 2015 (r401827) @@ -11,8 +11,7 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Posadis C++ DNS library LICENSE= GPLv2 # (or later) - -OPTIONS_DEFINE= DOCS EXAMPLES +LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes INSTALL_TARGET= install-strip @@ -21,17 +20,21 @@ USE_LDCONFIG= yes PLIST_SUB= VERSION="${PORTVERSION}" +OPTIONS_DEFINE= DOCS EXAMPLES + post-patch: @${REINPLACE_CMD} -e \ '/CXXFLAGS/s|-O0|$$CXXFLAGS| ; \ /LIBS=/s|-lstdc++||' ${WRKSRC}/configure -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in AUTHORS ChangeLog NEWS README TODO (cd ${WRKSRC} && ${INSTALL_DATA} ${i} \ ${STAGEDIR}${DOCSDIR}) .endfor + +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/examples && ${INSTALL_DATA} *.cpp \ ${STAGEDIR}${EXAMPLESDIR}) Modified: head/devel/poslib/files/patch-tools__fileclient.cpp ============================================================================== --- head/devel/poslib/files/patch-tools__fileclient.cpp Tue Nov 17 21:31:00 2015 (r401826) +++ head/devel/poslib/files/patch-tools__fileclient.cpp Tue Nov 17 21:31:14 2015 (r401827) @@ -1,4 +1,4 @@ ---- tools/fileclient.cpp.orig +--- tools/fileclient.cpp.orig 2003-02-01 14:29:23 UTC +++ tools/fileclient.cpp @@ -20,6 +20,8 @@ Modified: head/devel/poslib/files/patch-tools__fileserver.cpp ============================================================================== --- head/devel/poslib/files/patch-tools__fileserver.cpp Tue Nov 17 21:31:00 2015 (r401826) +++ head/devel/poslib/files/patch-tools__fileserver.cpp Tue Nov 17 21:31:14 2015 (r401827) @@ -1,4 +1,4 @@ ---- tools/fileserver.cpp.orig +--- tools/fileserver.cpp.orig 2003-03-24 19:59:39 UTC +++ tools/fileserver.cpp @@ -32,6 +32,7 @@ #include <sys/types.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511172131.tAHLVFsZ004595>