Lines 2-27
Link Here
|
2 |
# $FreeBSD: head/textproc/ffe/Makefile 372709 2014-11-18 09:37:31Z bapt $ |
2 |
# $FreeBSD: head/textproc/ffe/Makefile 372709 2014-11-18 09:37:31Z bapt $ |
3 |
|
3 |
|
4 |
PORTNAME= ffe |
4 |
PORTNAME= ffe |
5 |
PORTVERSION= 0.3.4 |
5 |
PORTVERSION= 0.3.5 |
6 |
CATEGORIES= textproc |
6 |
CATEGORIES= textproc |
7 |
MASTER_SITES= SF/ff-extractor/ff-extractor/${PORTVERSION} |
7 |
MASTER_SITES= SF/ff-extractor/ff-extractor/${PORTVERSION} |
8 |
|
8 |
|
9 |
MAINTAINER= ports@FreeBSD.org |
9 |
MAINTAINER= ports@FreeBSD.org |
10 |
COMMENT= Flat file extractor |
10 |
COMMENT= Flat file extractor |
11 |
|
11 |
|
12 |
OPTIONS_DEFINE= DOCS |
12 |
LICENSE= GPLv2 # (or later) |
|
|
13 |
#LICENSE_FILE= ${WRKSRC}/COPYING |
13 |
|
14 |
|
14 |
USES= makeinfo |
15 |
USES= makeinfo |
15 |
GNU_CONFIGURE= yes |
16 |
GNU_CONFIGURE= yes |
16 |
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz |
|
|
17 |
PORTDOCS= ${PORTNAME}.html |
18 |
|
17 |
|
19 |
post-patch: |
18 |
INFO= ffe |
20 |
@${REINPLACE_CMD} -e 's/^install-data-am: install-htmlDATA install-info-am install-man/install-data-am: install-man/' ${WRKSRC}/doc/Makefile.in |
19 |
PORTDOCS= ffe.html |
21 |
@${REINPLACE_CMD} -e 's|setmode|setmode123|g' ${WRKSRC}/configure |
20 |
PLIST_FILES= bin/ffe man/man1/ffe.1.gz |
22 |
|
21 |
|
23 |
post-install: |
22 |
OPTIONS_DEFINE= DOCS |
24 |
@${INSTALL} -d ${STAGEDIR}${DOCSDIR} |
23 |
|
25 |
cd ${WRKSRC}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} |
24 |
post-patch: |
|
|
25 |
@${REINPLACE_CMD} -e \ |
26 |
's|setmode |setmode123 |' ${WRKSRC}/configure |
26 |
|
27 |
|
27 |
.include <bsd.port.mk> |
28 |
.include <bsd.port.mk> |