From owner-svn-ports-head@freebsd.org Sun Mar 4 08:33:06 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DDD53F41029; Sun, 4 Mar 2018 08:33:06 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8DEB970D79; Sun, 4 Mar 2018 08:33:06 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 88E3813012; Sun, 4 Mar 2018 08:33:06 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w248X6W6097240; Sun, 4 Mar 2018 08:33:06 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w248X6Xt097239; Sun, 4 Mar 2018 08:33:06 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201803040833.w248X6Xt097239@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sun, 4 Mar 2018 08:33:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r463557 - head/devel/librest X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/devel/librest X-SVN-Commit-Revision: 463557 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2018 08:33:07 -0000 Author: amdmi3 Date: Sun Mar 4 08:33:06 2018 New Revision: 463557 URL: https://svnweb.freebsd.org/changeset/ports/463557 Log: - Add LICENSE_FILE - Switch to new test framework - Switch to options helpers Approved by: portmgr blanket Modified: head/devel/librest/Makefile Modified: head/devel/librest/Makefile ============================================================================== --- head/devel/librest/Makefile Sun Mar 4 08:10:30 2018 (r463556) +++ head/devel/librest/Makefile Sun Mar 4 08:33:06 2018 (r463557) @@ -10,6 +10,7 @@ MAINTAINER= cmt@burggraben.net COMMENT= Easy access to RESTful web services LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ca_root_nss>0:security/ca_root_nss RUN_DEPENDS:= ${BUILD_DEPENDS} @@ -19,6 +20,7 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-ca-certificates=${LOCALBASE}/share/certs/ca-root-nss.crt USE_LDCONFIG= yes USE_GNOME= glib20 intlhack libxml2 introspection:build +TEST_TARGET= check PORTEXAMPLES= *.c @@ -30,13 +32,11 @@ GNOME_CONFIGURE_OFF= --without-gnome GNOME_LIB_DEPENDS_OFF= libsoup-2.4.so:devel/libsoup post-install: - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/examples/*.c ${STAGEDIR}${EXAMPLESDIR} @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librest-0.7.so.0 @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librest-extras-0.7.so.0 -regression-test: - (cd ${WRKSRC}/tests && \ - ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} check) +post-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/*.c ${STAGEDIR}${EXAMPLESDIR} .include