diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-01-28 08:04:07 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-01-28 08:04:07 +0000 |
commit | e864325e63c75c938b0cc8ed56ed2e51107e734d (patch) | |
tree | f1493bb91d05d91b5cdb23c6a5bf9e81afaa77e5 /audio/flite | |
parent | e519aa2ec386cba30eeadc4b963ee40c8cb39c6b (diff) | |
download | ports-e864325e63c75c938b0cc8ed56ed2e51107e734d.tar.gz ports-e864325e63c75c938b0cc8ed56ed2e51107e734d.zip |
Support stage
Add DOCS option
Notes
Notes:
svn path=/head/; revision=341509
Diffstat (limited to 'audio/flite')
-rw-r--r-- | audio/flite/Makefile | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/audio/flite/Makefile b/audio/flite/Makefile index ee290d59ee2e..46373c8acd60 100644 --- a/audio/flite/Makefile +++ b/audio/flite/Makefile @@ -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> |