blob: a046f2eadba1cf1e078378fe2df65433af503116 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# New ports collection makefile for: tivodecode
# Date created: 2007-01-01
# Whom: Yi-Hsuan Hsin <mhsin@mhsin.org>
#
# $FreeBSD$
#
PORTNAME= tivodecode
DISTVERSION= 0.1.4
CATEGORIES= multimedia
MASTER_SITES= SF
MAINTAINER= mhsin@mhsin.org
COMMENT= Converts .TiVo files to normal MPEG files
USE_GMAKE= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
EXTRA_PATCHES= ${FILESDIR}/extra-patch-tivo-parse.c
.endif
post-patch:
${REINPLACE_CMD} -e 's/CFLAGS=/CFLAGS+=/' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/objects.dir/tivodecode ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
|