svn commit: r343557 - head/multimedia/tivodecode

Baptiste Daroussin bapt at FreeBSD.org
Sun Feb 9 23:16:30 UTC 2014


Author: bapt
Date: Sun Feb  9 23:16:29 2014
New Revision: 343557
URL: http://svnweb.freebsd.org/changeset/ports/343557
QAT: https://qat.redports.org/buildarchive/r343557/

Log:
  Support stage and allow package as a user

Modified:
  head/multimedia/tivodecode/Makefile

Modified: head/multimedia/tivodecode/Makefile
==============================================================================
--- head/multimedia/tivodecode/Makefile	Sun Feb  9 23:13:52 2014	(r343556)
+++ head/multimedia/tivodecode/Makefile	Sun Feb  9 23:16:29 2014	(r343557)
@@ -9,15 +9,17 @@ MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
 MAINTAINER=	mhsin at 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>


More information about the svn-ports-all mailing list