From owner-svn-ports-all@freebsd.org Wed Mar 28 08:33:27 2018 Return-Path: Delivered-To: svn-ports-all@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 09D4BF6A557; Wed, 28 Mar 2018 08:33:27 +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 B1C127CDE1; Wed, 28 Mar 2018 08:33:26 +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 AC1F168C; Wed, 28 Mar 2018 08:33:26 +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 w2S8XQ5A019461; Wed, 28 Mar 2018 08:33:26 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2S8XQ8p019460; Wed, 28 Mar 2018 08:33:26 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201803280833.w2S8XQ8p019460@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Wed, 28 Mar 2018 08:33:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r465783 - head/sysutils/samesame X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/sysutils/samesame X-SVN-Commit-Revision: 465783 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Mar 2018 08:33:27 -0000 Author: amdmi3 Date: Wed Mar 28 08:33:26 2018 New Revision: 465783 URL: https://svnweb.freebsd.org/changeset/ports/465783 Log: - Switch to new test framework - Switch to options helpers Approved by: portmgr blanket Modified: head/sysutils/samesame/Makefile Modified: head/sysutils/samesame/Makefile ============================================================================== --- head/sysutils/samesame/Makefile Wed Mar 28 08:17:34 2018 (r465782) +++ head/sysutils/samesame/Makefile Wed Mar 28 08:33:26 2018 (r465783) @@ -21,17 +21,18 @@ CONFIGURE_ARGS= --enable-samechflags --enable-samechmo --mandir="${MANPREFIX}/man" --prefix="${PREFIX}" \ --includedir="${LOCALBASE}/include" --libdir="${LOCALBASE}/lib" USES= tar:bzip2 +TEST_TARGET= check OPTIONS_DEFINE= DEBUG DISK_STORAGE LOW_MEMORY_PROFILE \ - EXPERIMENTAL PROFILER TEST + EXPERIMENTAL PROFILER OPTIONS_SUB= yes DISK_STORAGE_DESC= Allows temporarily storage on disk LOW_MEMORY_PROFILE_DESC= Low memory profile reduces functionality EXPERIMENTAL_DESC= Enables experimental functionality PROFILER_DESC= Enables gprof support -TEST_DESC= Run quality assurance test DISK_STORAGE_CONFIGURE_ENABLE= disk-storage +LOW_MEMORY_PROFILE_CONFIGURE_ON= --enable-low-memory-profile --disable-read-onces EXPERIMENTAL_CONFIGURE_ENABLE= experimental fsort #checksums preread PROFILE_CONFIGURE_ENABLE= profiler DEBUG_CONFIGURE_ENABLE= debug @@ -42,22 +43,8 @@ DEBUG_CONFIGURE_ENABLE= debug INSTALL_TARGET= install .endif -.if ${PORT_OPTIONS:MLOW_MEMORY_PROFILE} -CONFIGURE_ARGS+= --enable-low-memory-profile --disable-read-onces -.endif - -regression-test: build - @cd ${WRKSRC}; ${MAKE} check - -post-build: -.if ${PORT_OPTIONS:MTEST} - @cd ${WRKSRC}; ${MAKE} check -.endif - -post-install: -.if ${PORT_OPTIONS:MDISK_STORAGE} +post-install-DISK_STORAGE-on: ${INSTALL_SCRIPT} ${FILESDIR}/samesame.sh \ ${STAGEDIR}${PREFIX}/etc/rc.d/ -.endif .include