From owner-svn-ports-all@freebsd.org Fri Sep 4 15:59:36 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1D5FD3C6DC4; Fri, 4 Sep 2020 15:59:36 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bjj6b75C0z4FPt; Fri, 4 Sep 2020 15:59:35 +0000 (UTC) (envelope-from mandree@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 D6B57EFE5; Fri, 4 Sep 2020 15:59:35 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 084FxZ2c008680; Fri, 4 Sep 2020 15:59:35 GMT (envelope-from mandree@FreeBSD.org) Received: (from mandree@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 084FxZfu008679; Fri, 4 Sep 2020 15:59:35 GMT (envelope-from mandree@FreeBSD.org) Message-Id: <202009041559.084FxZfu008679@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mandree set sender to mandree@FreeBSD.org using -f From: Matthias Andree Date: Fri, 4 Sep 2020 15:59:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r547548 - branches/2020Q3/converters/recode X-SVN-Group: ports-branches X-SVN-Commit-Author: mandree X-SVN-Commit-Paths: branches/2020Q3/converters/recode X-SVN-Commit-Revision: 547548 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.33 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: Fri, 04 Sep 2020 15:59:36 -0000 Author: mandree Date: Fri Sep 4 15:59:35 2020 New Revision: 547548 URL: https://svnweb.freebsd.org/changeset/ports/547548 Log: MFH: r547547 converters/recode: fix info file, add LICENCE, quiet portlint/portclippy This has been broken for almost 10 months, and again 3 months of silence from the maintainer, so let me step in to just fix it for the nonce. - Add LICENSE=GPLv2+ - Add USES=makeinfo to fix .info file in clean-room builds (poudriere) [1] - Reshuffle a few lines to please portclippy and portlint - Bump PORTREVISION to flush out the broken packages and force rebuild - Add DISABLED example to strip library in order to also please stage-qa with DEVELOPER=yes (would require maintainer approval), in post-install (just remove @: and the comment line to enable). PR: 241879 [1] Submitted by: Victor Sudakov [1] Approved by: portmgr@ (blanket, see next line) Approved by: ports-secteam@ (blanket: add dependency to fix broken .info, add LICENSE, fix portlint/portclippy issues) Modified: branches/2020Q3/converters/recode/Makefile Directory Properties: branches/2020Q3/ (props changed) Modified: branches/2020Q3/converters/recode/Makefile ============================================================================== --- branches/2020Q3/converters/recode/Makefile Fri Sep 4 15:58:00 2020 (r547547) +++ branches/2020Q3/converters/recode/Makefile Fri Sep 4 15:59:35 2020 (r547548) @@ -4,20 +4,24 @@ PORTNAME= recode PORTVERSION= 3.6 DISTVERSIONPREFIX= v -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= converters MAINTAINER= demon@FreeBSD.org COMMENT= Converts files between character sets and usages +LICENSE= GPLv2+ + +USES= gettext iconv libtool makeinfo perl5 + USE_GITHUB= yes GH_ACCOUNT= pinard GH_PROJECT= Recode -GNU_CONFIGURE= yes -USES= gettext iconv libtool perl5 -USE_PERL5= run build USE_LDCONFIG= yes +USE_PERL5= run build + +GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-included-gettext CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} @@ -37,5 +41,9 @@ post-patch: @${REINPLACE_CMD} 's,"iconv\.h","${ICONV_PREFIX}/include/iconv.h",' \ ${WRKSRC}/src/libiconv.c @${CP} ${WRKSRC}/lib/error.c ${WRKSRC}/src + +# to enable, remove this line and the leading @: from the STRIP_CMD line +post-install: + @: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librecode.so.*.*.* .include