aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/tivodecode/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/multimedia/tivodecode/Makefile b/multimedia/tivodecode/Makefile
index 7f1a6a94ccec..15b7e65aa219 100644
--- a/multimedia/tivodecode/Makefile
+++ b/multimedia/tivodecode/Makefile
@@ -9,15 +9,17 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/0.2pre4
MAINTAINER= mhsin@mhsin.org
COMMENT= Converts .TiVo files to normal MPEG files
-USE_GMAKE= yes
+OPTIONS_DEFINE= DOCS
+
+USES= gmake
GNU_CONFIGURE= yes
-NO_STAGE= yes
+post-patch:
+ @${REINPLACE_CMD} -e '/echo.*RANLIB/,+1d' ${WRKSRC}/Makefile.in
+
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/COPYING \
+ ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>