1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/graphics/libdivxdecore-devel/Makefile
Mario Sergio Fujikawa Ferreira 1d29e87e16 quiet (less noise) extraction
2001-09-26 00:41:03 +00:00

56 lines
1.4 KiB
Makefile

# New ports collection makefile for: libdivxdecore developer version
# Date created: 03 Feb 20001
# Whom: Mario S F Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libdivxdecore
PORTVERSION= 0.4.0.50
CATEGORIES= graphics
MASTER_SITES= http://download.projectmayo.com/dnload/divxcore/
PKGNAMESUFFIX= -devel
DISTNAME= decore${PORTVERSION:E}src
MAINTAINER= lioux@FreeBSD.org
BUILD_DEPENDS= ${NONEXISTENT}:${LIBDIVXDECORE_PORT}:patch
WRKSRC= ${WRKDIR}/${LIBDIVXDECORE_PORT_WRKSRC:C/.+\///}
USE_ZIP= yes
EXTRACT_BEFORE_ARGS= -q -a -L
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
PLIST_SUB= LIB_VERSION="${LIB_VERSION}"
LIB_VERSION= 1
post-extract:
@${CP} -Rp ${LIBDIVXDECORE_PORT_WRKSRC} ${WRKDIR}
@${MV} ${WRKSRC}/src ${WRKSRC}/src.old
@${MV} ${WRKDIR}/decore/src ${WRKSRC}/src
@${CP} ${WRKSRC}/src.old/Makefile.* ${WRKSRC}/src
.for ext in c h
@${MV} ${WRKSRC}/src/transferidct.${ext} \
${WRKSRC}/src/transferIDCT.${ext}
.endfor
post-install:
@${LN} -sf ${PORTNAME}.so ${PREFIX}/lib/${PORTNAME}.so.${LIB_VERSION}
.include <bsd.port.pre.mk>
#LIBDIVXDECORE_PORT= ${PORTSDIR}/graphics/libdivxdecore
LIBDIVXDECORE_PORT= ${.CURDIR}/../libdivxdecore
LIBDIVXDECORE_PORT_WRKSRC!= cd ${LIBDIVXDECORE_PORT} && ${MAKE} -V WRKSRC
# We will inherit most of the comment files from the non-devel
# version
PLIST= ${LIBDIVXDECORE_PORT}/pkg-plist
DESCR= ${LIBDIVXDECORE_PORT}/pkg-descr
.include <bsd.port.post.mk>