blob: ca2e031a0dddcca2f211f34c4204d137c8c55425 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# New ports collection makefile for: divx4linux
# Date created: Mon Sep 24 15:40:14 BRT 2001
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= divx4linux
PORTVERSION= 5.0.${RELEASE_DATE}
PORTREVISION= 3
CATEGORIES= multimedia linux
MASTER_SITES= http://download.divx.com/divx/
PKGNAMEPREFIX= linux-
DISTNAME= ${PORTNAME}-std-${RELEASE_DATE}
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Linux binary release of DivX (TM) Codec
RESTRICTED= unsure of licensing issues
ONLY_FOR_ARCHS= i386 amd64
USE_LINUX_PREFIX= yes
USE_LINUX= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${RELEASE_DATE}
NO_BUILD= yes
PLIST_SUB= PKGNAME="${PKGNAME}"
DOC_EXT= htm
RELEASE_DATE= 20030428
post-patch:
.for ext in ${DOC_EXT}
@${REINPLACE_CMD} -e "s/
//" ${WRKSRC}/*.${ext}
.endfor
do-install:
.ifndef(NOPORTDOCS)
@${MKDIR} ${PREFIX}/usr/share/doc/${PKGNAME}
.for ext in ${DOC_EXT}
@${INSTALL_DATA} ${WRKSRC}/*.${ext} ${PREFIX}/usr/share/doc/${PKGNAME}
.endfor
.endif
# Header file installation
@${MKDIR} ${PREFIX}/usr/include/divx
@${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/usr/include/divx
# Library installation
@${INSTALL_DATA} ${WRKSRC}/*.so ${PREFIX}/usr/lib
@${LINUXBASE}/sbin/ldconfig
.include <bsd.port.mk>
|