freebsd-ports/graphics/divx4linux/Makefile
Mario Sergio Fujikawa Ferreira 494a087fb4 o PORTVERSION should not contain _ since it is reserved for PORTREVISION
o maintain crazy PORTVERSION numbering as a defensive measure for the time
  being

Spotted by:	naddy,
		Tadayuki OKADA <tadayuki@mediaone.net>
2002-01-30 15:58:26 +00:00

46 lines
1.1 KiB
Makefile

# 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:S/_/./}
CATEGORIES= graphics linux
MASTER_SITES= http://download.divx.com/videocodecs/linux/
DISTNAME= ${PORTNAME}-${RELEASE_DATE}
EXTRACT_SUFX= .tgz
MAINTAINER= lioux@FreeBSD.org
RESTRICTED= unsure of licensing issues
ONLY_FOR_ARCHS= i386
USE_LINUX_PREFIX= yes
WRKSRC= ${WRKDIR}/${DISTNAME:C/_.+$//}
NO_BUILD= yes
PLIST_SUB= PKGNAME="${PKGNAME}"
RELEASE_DATE= 20011010_4.02
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>