Teach portscout that 1.3.2 is not newer than 1.3.2a.
Pet portlint by using "fle" instead of "file" Mark port safe for use with MAKE_JOBS
This commit is contained in:
parent
7f9081c618
commit
24b38246db
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=313311
1 changed files with 9 additions and 7 deletions
|
@ -19,20 +19,22 @@ MAN5= html2textrc.5
|
|||
PORTDOCS= CHANGES CREDITS KNOWN_BUGS README TODO
|
||||
PLIST_FILES= bin/html2text
|
||||
|
||||
MAKE_JOBS_SAFE= yes
|
||||
|
||||
CONFLICTS= py27-html2text-[0-9]*
|
||||
|
||||
PORTSCOUT= skipb:0
|
||||
PORTSCOUT= skipb:0 skipv:1.3.2
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/echo=/s/ -e//' ${WRKSRC}/configure
|
||||
.for file in Makefile.in libstd/Makefile.in
|
||||
.for fle in Makefile.in libstd/Makefile.in
|
||||
@${REINPLACE_CMD} -e '/^DEBUG/s/^/#/; \
|
||||
/^CXXFLAGS/s/=/+=/' ${WRKSRC}/${file}
|
||||
/^CXXFLAGS/s/=/+=/' ${WRKSRC}/${fle}
|
||||
.endfor
|
||||
.for file in Area.h HTMLControl.h Properties.h format.h
|
||||
@${REINPLACE_CMD} -e 's/<istream>/<iostream>/' ${WRKSRC}/${file}
|
||||
.for fle in Area.h HTMLControl.h Properties.h format.h
|
||||
@${REINPLACE_CMD} -e 's/<istream>/<iostream>/' ${WRKSRC}/${fle}
|
||||
.endfor
|
||||
|
||||
do-install:
|
||||
|
@ -41,8 +43,8 @@ do-install:
|
|||
${INSTALL_MAN} ${WRKSRC}/html2textrc.5.gz ${MANPREFIX}/man/man5
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for file in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||
.for fle in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${fle} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue