From owner-svn-ports-head@freebsd.org Tue Apr 5 15:56:38 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 34974B03EA2; Tue, 5 Apr 2016 15:56:38 +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 mx1.freebsd.org (Postfix) with ESMTPS id E163C1254; Tue, 5 Apr 2016 15:56:37 +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 u35FubN7053702; Tue, 5 Apr 2016 15:56:37 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u35Fub69053700; Tue, 5 Apr 2016 15:56:37 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201604051556.u35Fub69053700@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Tue, 5 Apr 2016 15:56:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r412565 - head/mail/anomy-sanitizer X-SVN-Group: ports-head 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.21 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: Tue, 05 Apr 2016 15:56:38 -0000 Author: amdmi3 Date: Tue Apr 5 15:56:36 2016 New Revision: 412565 URL: https://svnweb.freebsd.org/changeset/ports/412565 Log: - Add LICENSE - Add NO_ARCH - Switch to options helpers Modified: head/mail/anomy-sanitizer/Makefile head/mail/anomy-sanitizer/pkg-plist Modified: head/mail/anomy-sanitizer/Makefile ============================================================================== --- head/mail/anomy-sanitizer/Makefile Tue Apr 5 15:48:36 2016 (r412564) +++ head/mail/anomy-sanitizer/Makefile Tue Apr 5 15:56:36 2016 (r412565) @@ -10,11 +10,16 @@ MASTER_SITES= http://mailtools.anomy.net MAINTAINER= ports@FreeBSD.org COMMENT= Sanitize and clean incoming/outgoing mail +LICENSE= GPLv2+ + USES= perl5 shebangfix SHEBANG_FILES= bin/sanitizer.pl bin/simplify.pl NO_BUILD= yes +NO_ARCH= yes WRKSRC= ${WRKDIR}/anomy -DOCS= CHANGELOG.sanitizer CREDITS README.sanitizer sanitizer.html + +PORTDOCS= CHANGELOG.sanitizer CREDITS README.sanitizer sanitizer.html UNICODE.TXT + OPTIONS_DEFINE= DOCS do-install: @@ -29,13 +34,10 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/bin/Anomy/Sanitizer/Scoring.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Anomy/Sanitizer/ ${INSTALL_SCRIPT} ${WRKSRC}/bin/sanitizer.pl ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/bin/simplify.pl ${STAGEDIR}${PREFIX}/bin - -post-install: ${INSTALL_DATA} ${FILESDIR}/sanitizer.cfg.sample ${STAGEDIR}${PREFIX}/etc/ - @${ECHO_MSG} "" - @${ECHO_MSG} "Sample config installed at ${PREFIX}/etc/sanitizer.cfg.sample" - @${ECHO_MSG} "" + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include Modified: head/mail/anomy-sanitizer/pkg-plist ============================================================================== --- head/mail/anomy-sanitizer/pkg-plist Tue Apr 5 15:48:36 2016 (r412564) +++ head/mail/anomy-sanitizer/pkg-plist Tue Apr 5 15:56:36 2016 (r412565) @@ -9,7 +9,3 @@ bin/simplify.pl %%SITE_PERL%%/Anomy/Sanitizer/FileTypes.pm %%SITE_PERL%%/Anomy/Sanitizer/MacroScanner.pm %%SITE_PERL%%/Anomy/Sanitizer/Scoring.pm -%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG.sanitizer -%%PORTDOCS%%%%DOCSDIR%%/CREDITS -%%PORTDOCS%%%%DOCSDIR%%/README.sanitizer -%%PORTDOCS%%%%DOCSDIR%%/sanitizer.html