svn commit: r341509 - head/audio/flite
Baptiste Daroussin
bapt at FreeBSD.org
Tue Jan 28 08:04:08 UTC 2014
Author: bapt
Date: Tue Jan 28 08:04:07 2014
New Revision: 341509
URL: http://svnweb.freebsd.org/changeset/ports/341509
QAT: https://qat.redports.org/buildarchive/r341509/
Log:
Support stage
Add DOCS option
Modified:
head/audio/flite/Makefile
Modified: head/audio/flite/Makefile
==============================================================================
--- head/audio/flite/Makefile Tue Jan 28 08:03:33 2014 (r341508)
+++ head/audio/flite/Makefile Tue Jan 28 08:04:07 2014 (r341509)
@@ -8,10 +8,11 @@ MASTER_SITES= http://www.speech.cs.cmu.e
DISTNAME= ${PORTNAME}-${PORTVERSION}-release
MAINTAINER= sobomax at 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>
More information about the svn-ports-all
mailing list