Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 2014 00:30:21 +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: r338713 - head/audio/toolame
Message-ID:  <201401050030.s050UL8u082956@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun Jan  5 00:30:21 2014
New Revision: 338713
URL: http://svnweb.freebsd.org/changeset/ports/338713

Log:
  Support stage

Modified:
  head/audio/toolame/Makefile

Modified: head/audio/toolame/Makefile
==============================================================================
--- head/audio/toolame/Makefile	Sun Jan  5 00:28:08 2014	(r338712)
+++ head/audio/toolame/Makefile	Sun Jan  5 00:30:21 2014	(r338713)
@@ -12,10 +12,11 @@ EXTRACT_SUFX=	.tgz
 MAINTAINER=	sylvio@FreeBSD.org
 COMMENT=	Optimized mpeg 1/2 layer 2 audio encoder
 
+OPTIONS_DEFINE=	DOCS
+
 LICENSE=	LGPL21
 
 USES=		gmake
-NO_STAGE=	yes
 ALL_TARGET=	${PORTNAME}
 MAKE_ARGS=	CC="${CC}" TWEAKS="${CFLAGS}" ARCH="" PG="" OPTIM=""
 USE_CSTD=	gnu89
@@ -23,15 +24,11 @@ USE_CSTD=	gnu89
 PLIST_FILES=	bin/toolame
 PORTDOCS=	FUTURE HISTORY LGPL.txt README
 
-.include <bsd.port.options.mk>
-
 do-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for docs in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
-	@${INSTALL_PROGRAM} ${WRKSRC}/toolame ${PREFIX}/bin
+	@${INSTALL_PROGRAM} ${WRKSRC}/toolame ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>



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