svn commit: r467814 - head/textproc/flex
Dmitry Marakasov
amdmi3 at FreeBSD.org
Fri Apr 20 09:03:45 UTC 2018
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 at 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
More information about the svn-ports-all
mailing list