diff options
Diffstat (limited to 'graphics/divx4linux/Makefile')
-rw-r--r-- | graphics/divx4linux/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/graphics/divx4linux/Makefile b/graphics/divx4linux/Makefile new file mode 100644 index 000000000000..d0b8212e2002 --- /dev/null +++ b/graphics/divx4linux/Makefile @@ -0,0 +1,46 @@ +# 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= 0.${RELEASE_DATE} +CATEGORIES= graphics linux +MASTER_SITES= http://download3.divx.com/videocodecs/linux/ +DISTNAME= ${PORTNAME}-${PORTVERSION:E} + +MAINTAINER= lioux@FreeBSD.org + +RESTRICTED= unsure of licensing issues + +ONLY_FOR_ARCHS= i386 +USE_ZIP= yes +USE_LINUX_PREFIX= yes +NO_WRKSUBDIR= yes +NO_BUILD= yes +PLIST_SUB= PKGNAME="${PKGNAME}" + +RELEASE_DATE= 20010824 + +post-patch: +.for ext in h linux txt + @${PERL} -pi -e "s/
//" ${WRKSRC}/*.${ext} +.endfor + +do-install: +.ifndef(NOPORTDOCS) + @${MKDIR} ${PREFIX}/usr/doc/${PKGNAME} +.for ext in linux txt + @${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> |