aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libdivxencore/Makefile
blob: cb7b66959f25489ce3f037d3700e0a83579838b8 (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
# New ports collection makefile for:	libdivxencore
# Date created:		Tue Jan 22 20:06:49 BRST 2002
# Whom:			Mario S F Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	libdivxencore
PORTVERSION=	0.4.0.50
CATEGORIES=	graphics
MASTER_SITES=	http://download.projectmayo.com/dnload/divxcore/
PKGNAMESUFFIX=	-devel
DISTNAME=	encore${PORTVERSION:E}src

MAINTAINER=	lioux@FreeBSD.org

USE_ZIP=	yes
EXTRACT_BEFORE_ARGS=	-q -a -L
MAKE_ARGS=	LIB_VERSION="${LIB_VERSION}" PREFIX=${PREFIX}
PLIST_SUB=	LIB_VERSION="${LIB_VERSION}"
INSTALLS_SHLIB=	yes

WRKSRC=		${WRKDIR}/encore/src

LIB_VERSION=	0

.ifndef(NOPROFILE)
PLIST_SUB+=	NOPROFILE=''
.else
PLIST_SUB+=	NOPROFILE='@comment '
.endif

post-extract:
	@${CP} ${FILESDIR}/Makefile ${WRKSRC}

pre-install:
	@${MKDIR} ${PREFIX}/include/divx

.include <bsd.port.mk>