aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-11 17:53:30 +0800
committermiwi <miwi@FreeBSD.org>2014-02-11 17:53:30 +0800
commita79d29914ea037243622c6f188e22080cb5d42c7 (patch)
treea5443d858df71ddce97485a43a80f56ba9fe82f2 /multimedia
parent45e5f4005f18318f25fff9114032d2bad58088bf (diff)
downloadfreebsd-ports-gnome-a79d29914ea037243622c6f188e22080cb5d42c7.tar.gz
freebsd-ports-gnome-a79d29914ea037243622c6f188e22080cb5d42c7.tar.zst
freebsd-ports-gnome-a79d29914ea037243622c6f188e22080cb5d42c7.zip
- Stage support
- Covert gmake to USES
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libmpeg3/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/multimedia/libmpeg3/Makefile b/multimedia/libmpeg3/Makefile
index c44ee43e352c..e047aed33c1d 100644
--- a/multimedia/libmpeg3/Makefile
+++ b/multimedia/libmpeg3/Makefile
@@ -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 ${PTHREAD_LIBS}
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>