b03107f88d
- USES=gmake libtool pathfix tar:bzip2. - INSTALL_TARGET=install-strip. - Use options. - Staging. - Simplify post-patch commands. - This update changes the library version but this allows removing libdvdcss related patches from dependent ports. multimedia/libxine: [1] - Add USES=libtool:keepla and remove libtool related patches and post-patch commands. - Move bsd.port.pre.mk include down and remove WANT_GNOME. - Remove USE_XORG=sm. libxine doesn't link to it. - Remove CONFIGURE_ENV. Not needed. - Clean up CPPFLAGS and CFLAGS. - Rename the GTK2 option PIXBUF and depend on gdkpixbuf2 instead of gtk20. - Remove PATCH_DIST_ARGS. Leftover from when there were external patches. - Remove -fno-force-addr clang hack. Modern gcc does not support the flag either and it was only added in case the user has -fforce-addr in CFLAGS in make.conf. - Fix IMAGEMAGICK option. - Merge pre-configure with post-patch and remove most commands because they don't do anything. multimedia/libdvdread: - USES=libtool:oldver pathfix. - INSTALL_TARGET=install-strip. multimedia/handbrake: - Add build dependency on devel/libtool because configure script expects to find existing libtool program. - Turn dependency on libdvdcss into library dependency such that headers are available during build. - Add USES=libtool to patch libtool scripts in contrib code. - Remove run-autotools-aclocal target and replace USE_AUTOTOOLS=aclocal with "autoconf:env automake:env" to indicate only build dependencies are needed and the tools don't have to be run. Approved by: nox [1]
31 lines
788 B
Makefile
31 lines
788 B
Makefile
# Created by: Ganael Laplanche <ganael.laplanche@martymac.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= dvdvideo
|
|
PORTVERSION= 20130117
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils multimedia
|
|
MASTER_SITES= http://contribs.martymac.org/FreeBSD-ports/distfiles/ \
|
|
LOCAL/martymac
|
|
DISTNAME= python-${PORTNAME}-${PORTVERSION}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= martymac@FreeBSD.org
|
|
COMMENT= Video DVD backup tool
|
|
|
|
LICENSE= GPLv3
|
|
|
|
USE_PYTHON= 3.1+
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_EGGINFO= python_dvdvideo-0.${PORTVERSION}-py${PYTHON_VER}.egg-info
|
|
|
|
PLIST_SUB+= PYTHON_SUFFIX=${PYTHON_SUFFIX}
|
|
|
|
OPTIONS_DEFINE= DVDCSS
|
|
.if !defined(PACKAGE_BUILDING)
|
|
OPTIONS_DEFAULT= DVDCSS
|
|
.endif
|
|
# DVDCSS version hardcoded in dvdvideo/libdvdcss.py
|
|
DVDCSS_LIB_DEPENDS= libdvdcss.so.2:${PORTSDIR}/multimedia/libdvdcss
|
|
|
|
.include <bsd.port.mk>
|