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
|
||||
|
||||
MAINTAINER= sobomax@FreeBSD.org
|
||||
COMMENT= A small run-time speech synthesis engine
|
||||
COMMENT= Small run-time speech synthesis engine
|
||||
|
||||
USES= gmake
|
||||
NO_STAGE= yes
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
USES= gmake desthack
|
||||
USE_BZIP2= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --enable-shared=yes
|
||||
|
@ -21,15 +22,11 @@ MAKE_JOBS_UNSAFE= yes
|
|||
|
||||
CFLAGS:= ${CFLAGS:N-O:N-O[0123456789]} -O0
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-pd|-p|g' ${WRKSRC}/main/Makefile
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
post-install:
|
||||
@${MKDIR} ${DOCSDIR}/
|
||||
${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}/
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue