Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Feb 2014 09:53:31 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343727 - head/multimedia/libmpeg3
Message-ID:  <201402110953.s1B9rVTp018981@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Tue Feb 11 09:53:30 2014
New Revision: 343727
URL: http://svnweb.freebsd.org/changeset/ports/343727
QAT: https://qat.redports.org/buildarchive/r343727/

Log:
  - Stage support
  - Covert gmake to USES

Modified:
  head/multimedia/libmpeg3/Makefile

Modified: head/multimedia/libmpeg3/Makefile
==============================================================================
--- head/multimedia/libmpeg3/Makefile	Tue Feb 11 09:53:23 2014	(r343726)
+++ head/multimedia/libmpeg3/Makefile	Tue Feb 11 09:53:30 2014	(r343727)
@@ -18,7 +18,7 @@ OPTIONS_DEFINE_i386=	MMX
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
 USE_BZIP2=	yes
-USE_GMAKE=	yes
+USES=	gmake
 MAKE_ARGS=	CC="${CC}" USE_CSS=0 OBJDIR="obj" \
 		CFLAGS="${CFLAGS} ${CPPFLAGS}" LIBS="${LDFLAGS}"
 
@@ -35,7 +35,6 @@ LDFLAGS+=	-lm -L${LOCALBASE}/lib -la52 $
 
 NASM?=		${LOCALBASE}/bin/nasm
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MMMX}
@@ -55,19 +54,17 @@ post-patch:
 
 do-install:
 .for file in ${BIN_FILES}
-	cd ${WRKSRC}/obj && ${INSTALL_PROGRAM} ${file} ${PREFIX}/bin
+	cd ${WRKSRC}/obj && ${INSTALL_PROGRAM} ${file} ${STAGEDIR}${PREFIX}/bin
 .endfor
 .for file in ${INC_FILES}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${file} ${PREFIX}/include
+	cd ${WRKSRC} && ${INSTALL_DATA} ${file} ${STAGEDIR}${PREFIX}/include
 .endfor
 .for file in ${LIB_FILES}
-	cd ${WRKSRC}/obj && ${INSTALL_DATA} ${file} ${PREFIX}/lib
+	cd ${WRKSRC}/obj && ${INSTALL_DATA} ${file} ${STAGEDIR}${PREFIX}/lib
 .endfor
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for file in ${PORTDOCS}
-	cd ${WRKSRC}/docs && ${INSTALL_DATA} ${file} ${DOCSDIR}
+	cd ${WRKSRC}/docs && ${INSTALL_DATA} ${file} ${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?201402110953.s1B9rVTp018981>