Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 May 2014 13:24:47 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r353460 - head/audio/festival-freebsoft-utils
Message-ID:  <201405091324.s49DOlGP060408@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri May  9 13:24:47 2014
New Revision: 353460
URL: http://svnweb.freebsd.org/changeset/ports/353460
QAT: https://qat.redports.org/buildarchive/r353460/

Log:
  Support stage

Modified:
  head/audio/festival-freebsoft-utils/Makefile

Modified: head/audio/festival-freebsoft-utils/Makefile
==============================================================================
--- head/audio/festival-freebsoft-utils/Makefile	Fri May  9 13:20:50 2014	(r353459)
+++ head/audio/festival-freebsoft-utils/Makefile	Fri May  9 13:24:47 2014	(r353460)
@@ -9,12 +9,13 @@ MASTER_SITES=	http://www.freebsoft.org/p
 MAINTAINER=	avilla@FreeBSD.org
 COMMENT=	Festival utilities focused on interaction with Speech Dispatcher
 
+OPTIONS_DEFINE=	DOCS
+
 RUN_DEPENDS=	festival:${PORTSDIR}/audio/festival \
 		sox:${PORTSDIR}/audio/sox
 
 NO_BUILD=	yes
 USES=		iconv
-NO_STAGE=	yes
 
 PORTDOCS=	ANNOUNCE NEWS README
 
@@ -22,19 +23,13 @@ INFO=		${PORTNAME}
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 do-install:
-	${MKDIR} ${LOCALBASE}/share/festival/lib
-	cd ${WRKSRC} && ${INSTALL_DATA} *.scm ${LOCALBASE}/share/festival/lib
-	cd ${WRKSRC}/doc && ${INSTALL_MAN} ${PORTNAME}.info ${PREFIX}/${INFO_PATH}
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/festival/lib
+	cd ${WRKSRC} && ${INSTALL_DATA} *.scm ${STAGEDIR}${PREFIX}/share/festival/lib
+	cd ${WRKSRC}/doc && ${INSTALL_MAN} ${PORTNAME}.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ${PORTDOCS}
-	${INSTALL_MAN} ${WRKSRC}/${f} ${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405091324.s49DOlGP060408>