- Add LICENSE
- Switch to options helpers - Update WWW Approved by: portmgr blanket
This commit is contained in:
parent
9289022178
commit
63b189e07a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=467814
@ -8,6 +8,9 @@ MASTER_SITES= https://github.com/westes/flex/releases/download/v${PORTVERSION}/
|
||||
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>
|
||||
|
@ -10,4 +10,4 @@ analyzes its input for occurrences of text matching the regular
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user