aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-10-19 23:57:01 +0800
committerbapt <bapt@FreeBSD.org>2013-10-19 23:57:01 +0800
commitf3098d6e162ac56cb0e64dc15f1496c42cd5f006 (patch)
treed12974d78f03e2f8ac6e3dbb0e0caa84ded08117 /multimedia
parent8955eba1989ab1ff6a7e68d30972cdd9908e07fe (diff)
downloadfreebsd-ports-gnome-f3098d6e162ac56cb0e64dc15f1496c42cd5f006.tar.gz
freebsd-ports-gnome-f3098d6e162ac56cb0e64dc15f1496c42cd5f006.tar.zst
freebsd-ports-gnome-f3098d6e162ac56cb0e64dc15f1496c42cd5f006.zip
Enable stage
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mpeg_encode/Makefile13
-rw-r--r--multimedia/mpeg_encode/pkg-plist1
2 files changed, 6 insertions, 8 deletions
diff --git a/multimedia/mpeg_encode/Makefile b/multimedia/mpeg_encode/Makefile
index f86e0725e787..791105d315d9 100644
--- a/multimedia/mpeg_encode/Makefile
+++ b/multimedia/mpeg_encode/Makefile
@@ -10,23 +10,20 @@ DISTNAME= ${PKGNAME}-src
MAINTAINER= multimedia@FreeBSD.org
COMMENT= UCB's MPEG-I video stream encoder
-MAN1= mpeg_encode.1
+OPTIONS_DEFINE= DOCS
WRKSRC= ${WRKDIR}/${PORTNAME}
-NO_STAGE= yes
post-patch:
@(${GREP} -R -l "malloc.h" ${WRKSRC}/* | \
${XARGS} ${REINPLACE_CMD} -e "s/malloc.h/stdlib.h/")
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/mpeg_encode ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/docs/mpeg_encode.1 ${PREFIX}/man/man1
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/mpeg_encode ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/docs/mpeg_encode.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in users-guide.ps template.param
- @${INSTALL_DATA} ${WRKSRC}/docs/${i} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/docs/${i} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>
diff --git a/multimedia/mpeg_encode/pkg-plist b/multimedia/mpeg_encode/pkg-plist
index 3dc55b80ecc9..4fcaa91ec18c 100644
--- a/multimedia/mpeg_encode/pkg-plist
+++ b/multimedia/mpeg_encode/pkg-plist
@@ -1,4 +1,5 @@
bin/mpeg_encode
+man/man1/mpeg_encode.1.gz
%%PORTDOCS%%share/doc/mpeg_encode/users-guide.ps
%%PORTDOCS%%share/doc/mpeg_encode/template.param
%%PORTDOCS%%@dirrm share/doc/mpeg_encode