2001-03-13 22:40:37 +01:00
|
|
|
# New ports collection makefile for: libdivxdecore developer version
|
2001-02-12 22:16:50 +01:00
|
|
|
# Date created: 03 Feb 20001
|
|
|
|
# Whom: Mario S F Ferreira <lioux@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libdivxdecore
|
2001-09-24 20:02:18 +02:00
|
|
|
PORTVERSION= 0.4.0.50
|
2002-02-11 17:32:06 +01:00
|
|
|
PORTREVISION= 1
|
2001-02-12 22:16:50 +01:00
|
|
|
CATEGORIES= graphics
|
2001-03-13 22:40:37 +01:00
|
|
|
MASTER_SITES= http://download.projectmayo.com/dnload/divxcore/
|
|
|
|
PKGNAMESUFFIX= -devel
|
2001-09-24 20:02:18 +02:00
|
|
|
DISTNAME= decore${PORTVERSION:E}src
|
2001-02-12 22:16:50 +01:00
|
|
|
|
|
|
|
MAINTAINER= lioux@FreeBSD.org
|
|
|
|
|
2001-03-13 22:40:37 +01:00
|
|
|
USE_ZIP= yes
|
2001-09-26 02:41:03 +02:00
|
|
|
EXTRACT_BEFORE_ARGS= -q -a -L
|
2002-02-11 17:32:06 +01:00
|
|
|
MAKE_ARGS= LIB_VERSION="${LIB_VERSION}" PREFIX=${PREFIX}
|
2001-02-12 22:16:50 +01:00
|
|
|
PLIST_SUB= LIB_VERSION="${LIB_VERSION}"
|
2002-02-11 17:32:06 +01:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
|
|
|
PATCH_WRKSRC= ${WRKDIR}/decore
|
|
|
|
WRKSRC= ${WRKDIR}/decore/src
|
2001-02-12 22:16:50 +01:00
|
|
|
|
2001-09-24 20:02:18 +02:00
|
|
|
LIB_VERSION= 1
|
2001-02-12 22:16:50 +01:00
|
|
|
|
2002-04-18 18:25:23 +02:00
|
|
|
.ifndef(NOPROFILE)
|
2002-04-21 02:29:42 +02:00
|
|
|
PLIST_SUB+= NOPROFILE=''
|
2002-04-18 18:25:23 +02:00
|
|
|
.else
|
2002-04-21 02:29:42 +02:00
|
|
|
PLIST_SUB+= NOPROFILE='@comment '
|
2002-04-18 18:25:23 +02:00
|
|
|
.endif
|
|
|
|
|
2001-03-13 22:40:37 +01:00
|
|
|
post-extract:
|
2001-09-24 20:02:18 +02:00
|
|
|
.for ext in c h
|
2002-02-11 17:32:06 +01:00
|
|
|
@${MV} ${WRKSRC}/transferidct.${ext} \
|
|
|
|
${WRKSRC}/transferIDCT.${ext}
|
2001-09-24 20:02:18 +02:00
|
|
|
.endfor
|
2002-02-11 17:32:06 +01:00
|
|
|
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
|
2001-03-13 22:40:37 +01:00
|
|
|
|
2002-02-11 17:32:06 +01:00
|
|
|
pre-install:
|
|
|
|
@${MKDIR} ${PREFIX}/include/divx
|
2001-03-13 22:40:37 +01:00
|
|
|
|
2002-02-11 17:32:06 +01:00
|
|
|
.include <bsd.port.mk>
|