- Move perl invocation to post-build, just to be sure

This commit is contained in:
Pav Lucistnik 2005-02-05 16:50:02 +00:00
parent 1c3e6391d4
commit b3b471dc65
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128079

View File

@ -32,13 +32,13 @@ CONFIGURE_ARGS= --with-cryptopp
PORTDOCS= README ${PORTNAME}.doc
.endif
post-extract:
# convert sgml documentation to plain text
@${PERL} -e '$$/=">";' -e 'while(<>){s/<.*>//;print;}' < ${WRKSRC}/docs/${PORTNAME}.sgml > ${WRKSRC}/${PORTNAME}.doc
post-patch:
@${REINPLACE_CMD} -e 's|-march=pentium3 -O3 -g -pipe -fomit-frame-pointer|${CFLAGS}|' ${WRKSRC}/config.m4
post-build:
# convert sgml documentation to plain text
@${PERL} -e '$$/=">";' -e 'while(<>){s/<.*>//;print;}' < ${WRKSRC}/docs/${PORTNAME}.sgml > ${WRKSRC}/${PORTNAME}.doc
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}