diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2018-04-20 17:03:44 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2018-04-20 17:03:44 +0800 |
commit | 086f50fc38690390aed24f3c72e45837c51fdc44 (patch) | |
tree | 7955fbd8887c1d5b3a7bc8ac0356109f1e306003 /textproc/flex | |
parent | 8bf9b220bf0187e9553bc352183806f697f13c56 (diff) | |
download | freebsd-ports-gnome-086f50fc38690390aed24f3c72e45837c51fdc44.tar.gz freebsd-ports-gnome-086f50fc38690390aed24f3c72e45837c51fdc44.tar.zst freebsd-ports-gnome-086f50fc38690390aed24f3c72e45837c51fdc44.zip |
- Add LICENSE
- Switch to options helpers
- Update WWW
Approved by: portmgr blanket
Diffstat (limited to 'textproc/flex')
-rw-r--r-- | textproc/flex/Makefile | 11 | ||||
-rw-r--r-- | textproc/flex/pkg-descr | 2 |
2 files changed, 6 insertions, 7 deletions
diff --git a/textproc/flex/Makefile b/textproc/flex/Makefile index 3531b5ceb45f..907c550523f3 100644 --- a/textproc/flex/Makefile +++ b/textproc/flex/Makefile @@ -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> diff --git a/textproc/flex/pkg-descr b/textproc/flex/pkg-descr index 3b01acfbc2b5..caac39fe7ad3 100644 --- a/textproc/flex/pkg-descr +++ b/textproc/flex/pkg-descr @@ -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 |