Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Feb 2018 09:02:52 +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: r461869 - head/archivers/ppmd-7z
Message-ID:  <201802150902.w1F92qtb088514@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Feb 15 09:02:52 2018
New Revision: 461869
URL: https://svnweb.freebsd.org/changeset/ports/461869

Log:
  - Add LICENSE
  - Switch to new test framework
  - Unsilence installation commands
  
  Approved by:	portmgr blanket

Modified:
  head/archivers/ppmd-7z/Makefile

Modified: head/archivers/ppmd-7z/Makefile
==============================================================================
--- head/archivers/ppmd-7z/Makefile	Thu Feb 15 08:51:05 2018	(r461868)
+++ head/archivers/ppmd-7z/Makefile	Thu Feb 15 09:02:52 2018	(r461869)
@@ -11,12 +11,21 @@ DISTNAME=	p7zip_${DISTVERSION}_src_all
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	High-ratio PPMD compressor
 
+LICENSE=	LGPL21+ UNRAR
+LICENSE_COMB=	multi
+LICENSE_NAME_UNRAR=	unRAR license
+LICENSE_FILE=	${WRKSRC}/DOCS/License.txt
+LICENSE_FILE_UNRAR=	${WRKSRC}/DOCS/unRarLicense.txt
+LICENSE_FILE_LGPL21+ =	${WRKSRC}/DOCS/copying.txt
+LICENSE_PERMS_UNRAR=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
 USES=		tar:bzip2 gmake
 WRKSRC=		${WRKDIR}/p7zip_${DISTVERSION}
 BUILD_WRKSRC=	${WRKSRC}/CPP/7zip/Compress/PPMD_Alone
 MAKEFILE=	makefile
 PLIST_FILES=	bin/${PKGBASE}
 MAKE_ARGS=	PROG=${PORTNAME} CXX="${CXX}" LIB="-pthread"
+TEST_TARGET=	test
 
 post-patch:
 	@${REINPLACE_CMD} -e '/bool Open(LPCTSTR fileName, DWORD creationDisposition)/,/}/d'\
@@ -25,9 +34,6 @@ post-patch:
 			${BUILD_WRKSRC}/${MAKEFILE}
 
 do-install:
-	@${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PKGBASE}
-
-regression-test: build
-	@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test)
+	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PKGBASE}
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802150902.w1F92qtb088514>