summaryrefslogtreecommitdiff
path: root/multimedia/mpeg_encode
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-10-19 15:57:01 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-10-19 15:57:01 +0000
commit2e503dc619e0a75bb33874e0ff451e832091a33e (patch)
treed12974d78f03e2f8ac6e3dbb0e0caa84ded08117 /multimedia/mpeg_encode
parentEnable stage (diff)
Enable stage
Notes
Notes: svn path=/head/; revision=330893
Diffstat (limited to 'multimedia/mpeg_encode')
-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