aboutsummaryrefslogtreecommitdiff
path: root/multimedia/tivodecode
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-02-09 23:16:29 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-02-09 23:16:29 +0000
commit94dc7dd1109624e0e472baa403766ee6301aec57 (patch)
tree0656e9227f321b2ece990fe92930818e9f46e080 /multimedia/tivodecode
parentf029546b2cdb5317876fe85cf931aebe81f288d4 (diff)
downloadports-94dc7dd1109624e0e472baa403766ee6301aec57.tar.gz
ports-94dc7dd1109624e0e472baa403766ee6301aec57.zip
Support stage and allow package as a user
Notes
Notes: svn path=/head/; revision=343557
Diffstat (limited to 'multimedia/tivodecode')
-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>