Support stage
Add DOCS option
This commit is contained in:
parent
e519aa2ec3
commit
e864325e63
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341509
1 changed files with 6 additions and 9 deletions
|
@ -8,10 +8,11 @@ MASTER_SITES= http://www.speech.cs.cmu.edu/flite/packed/${PORTNAME}-${PORTVERSIO
|
||||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-release
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-release
|
||||||
|
|
||||||
MAINTAINER= sobomax@FreeBSD.org
|
MAINTAINER= sobomax@FreeBSD.org
|
||||||
COMMENT= A small run-time speech synthesis engine
|
COMMENT= Small run-time speech synthesis engine
|
||||||
|
|
||||||
USES= gmake
|
OPTIONS_DEFINE= DOCS
|
||||||
NO_STAGE= yes
|
|
||||||
|
USES= gmake desthack
|
||||||
USE_BZIP2= yes
|
USE_BZIP2= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS= --enable-shared=yes
|
CONFIGURE_ARGS= --enable-shared=yes
|
||||||
|
@ -21,15 +22,11 @@ MAKE_JOBS_UNSAFE= yes
|
||||||
|
|
||||||
CFLAGS:= ${CFLAGS:N-O:N-O[0123456789]} -O0
|
CFLAGS:= ${CFLAGS:N-O:N-O[0123456789]} -O0
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|-pd|-p|g' ${WRKSRC}/main/Makefile
|
@${REINPLACE_CMD} -e 's|-pd|-p|g' ${WRKSRC}/main/Makefile
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MDOCS}
|
|
||||||
post-install:
|
post-install:
|
||||||
@${MKDIR} ${DOCSDIR}/
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
||||||
${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}/
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Reference in a new issue