2001-09-24 14:42:50 -04:00
|
|
|
# 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
|
2002-04-22 18:32:04 -04:00
|
|
|
PORTVERSION= 5.0.${RELEASE_DATE}
|
2001-09-24 14:42:50 -04:00
|
|
|
CATEGORIES= graphics linux
|
2002-04-22 18:32:04 -04:00
|
|
|
MASTER_SITES= http://download.divx.com/divx/
|
|
|
|
|
2002-04-24 22:58:00 -04:00
|
|
|
DISTNAME= ${PORTNAME}501-${RELEASE_DATE}
|
2002-04-22 18:32:04 -04:00
|
|
|
|
2002-01-20 14:02:03 -05:00
|
|
|
EXTRACT_SUFX= .tgz
|
2001-09-24 14:42:50 -04:00
|
|
|
|
|
|
|
MAINTAINER= lioux@FreeBSD.org
|
|
|
|
|
|
|
|
RESTRICTED= unsure of licensing issues
|
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386
|
2002-11-03 22:05:48 -05:00
|
|
|
USE_REINPLACE= yes
|
2001-09-24 14:42:50 -04:00
|
|
|
USE_LINUX_PREFIX= yes
|
2002-04-24 22:58:00 -04:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/501-/-/}
|
2001-09-24 14:42:50 -04:00
|
|
|
NO_BUILD= yes
|
|
|
|
PLIST_SUB= PKGNAME="${PKGNAME}"
|
|
|
|
|
2002-04-24 22:58:00 -04:00
|
|
|
DOC_EXT= htm linux txt
|
|
|
|
RELEASE_DATE= 20020418
|
2001-09-24 14:42:50 -04:00
|
|
|
|
|
|
|
post-patch:
|
2002-04-24 22:58:00 -04:00
|
|
|
.for ext in ${DOC_EXT}
|
2002-11-03 22:05:48 -05:00
|
|
|
@${REINPLACE_CMD} -e "s/
//" ${WRKSRC}/*.${ext}
|
2001-09-24 14:42:50 -04:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
.ifndef(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/usr/doc/${PKGNAME}
|
2002-04-24 22:58:00 -04:00
|
|
|
.for ext in ${DOC_EXT}
|
2001-09-24 14:42:50 -04:00
|
|
|
@${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>
|