freebsd-ports/multimedia/linux-divx4linux/Makefile

51 lines
1.2 KiB
Makefile
Raw Normal View History

# 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}
CATEGORIES= multimedia linux
MASTER_SITES= http://download.divx.com/divx/
PKGNAMEPREFIX= linux-
DISTNAME= ${PORTNAME}-std-${RELEASE_DATE}
MAINTAINER= lioux@FreeBSD.org
2003-02-23 20:58:35 +01:00
COMMENT= Linux binary release of DivX (TM) Codec
RESTRICTED= unsure of licensing issues
ONLY_FOR_ARCHS= i386
USE_REINPLACE= yes
USE_LINUX_PREFIX= yes
2004-02-08 02:14:05 +01:00
USE_SIZE= 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/doc/${PKGNAME}
.for ext in ${DOC_EXT}
@${INSTALL_DATA} ${WRKSRC}/*.${ext} ${PREFIX}/usr/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>