aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-02-10 07:16:29 +0800
committerbapt <bapt@FreeBSD.org>2014-02-10 07:16:29 +0800
commit97ca03b158f835a3634b1b21d46957732a93774e (patch)
tree0656e9227f321b2ece990fe92930818e9f46e080 /multimedia
parent9c6400465dd7922eeb6741bfe4ac176454f6edc7 (diff)
downloadfreebsd-ports-gnome-97ca03b158f835a3634b1b21d46957732a93774e.tar.gz
freebsd-ports-gnome-97ca03b158f835a3634b1b21d46957732a93774e.tar.zst
freebsd-ports-gnome-97ca03b158f835a3634b1b21d46957732a93774e.zip
Support stage and allow package as a user
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>