Date: Fri, 20 Apr 2018 09:03:45 +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: r467814 - head/textproc/flex Message-ID: <201804200903.w3K93jC7095398@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Fri Apr 20 09:03:44 2018 New Revision: 467814 URL: https://svnweb.freebsd.org/changeset/ports/467814 Log: - Add LICENSE - Switch to options helpers - Update WWW Approved by: portmgr blanket Modified: head/textproc/flex/Makefile head/textproc/flex/pkg-descr Modified: head/textproc/flex/Makefile ============================================================================== --- head/textproc/flex/Makefile Fri Apr 20 08:50:41 2018 (r467813) +++ head/textproc/flex/Makefile Fri Apr 20 09:03:44 2018 (r467814) @@ -8,6 +8,9 @@ MASTER_SITES= https://github.com/westes/flex/releases/ MAINTAINER= johans@FreeBSD.org COMMENT= Fast lexical analyzer generator +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING + BUILD_DEPENDS= help2man:misc/help2man \ gm4:devel/m4 RUN_DEPENDS= gm4:devel/m4 @@ -28,19 +31,15 @@ OPTIONS_SUB= yes NLS_USES= gettext iconv NLS_CONFIGURE_ENABLE= nls -.include <bsd.port.options.mk> - post-patch: .SILENT ${REINPLACE_CMD} -Ee 's/tests//' \ -e '/mode=compile ..CC/s/\\$$/-fPIC -DPIC &/' \ ${WRKSRC}/Makefile.in ${RM} ${WRKSRC}/doc/*.info* -post-install: -.if ${PORT_OPTIONS:MEXAMPLES} - ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} +post-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${CP} -r ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}/ ${RM} ${STAGEDIR}${EXAMPLESDIR}/Makefile.am -.endif .include <bsd.port.mk> Modified: head/textproc/flex/pkg-descr ============================================================================== --- head/textproc/flex/pkg-descr Fri Apr 20 08:50:41 2018 (r467813) +++ head/textproc/flex/pkg-descr Fri Apr 20 09:03:44 2018 (r467814) @@ -10,4 +10,4 @@ analyzes its input for occurrences of text matching th expressions for each rule. Whenever it finds a match, it executes the corresponding C code. -WWW: http://flex.sourceforge.net/ +WWW: https://github.com/westes/flex
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804200903.w3K93jC7095398>