From owner-svn-ports-all@FreeBSD.ORG Tue Oct 23 21:13:34 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1D0FE9AC; Tue, 23 Oct 2012 21:13:34 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 03EEF8FC19; Tue, 23 Oct 2012 21:13:34 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9NLDXTE058194; Tue, 23 Oct 2012 21:13:33 GMT (envelope-from madpilot@svn.freebsd.org) Received: (from madpilot@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9NLDXCx058190; Tue, 23 Oct 2012 21:13:33 GMT (envelope-from madpilot@svn.freebsd.org) Message-Id: <201210232113.q9NLDXCx058190@svn.freebsd.org> From: Guido Falsi Date: Tue, 23 Oct 2012 21:13:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306328 - head/multimedia/libvdpau X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2012 21:13:34 -0000 Author: madpilot Date: Tue Oct 23 21:13:33 2012 New Revision: 306328 URL: http://svn.freebsd.org/changeset/ports/306328 Log: - Switch back to cgit snapshot - Use xz format archive - Preserve configuraton file - Remove uneeded dependency on gmake - Properly USE_AUTOTOOLS which implies GNU_CONFIGURE - Convert to optionsng - Bump PORTREVISION due to diffs in installed files - Take maintainership (submitter declined) PR: ports/171824 Submmitted by: Jan Beich Appproved by: tabthorpe (portmgr) Feature safe: yes Modified: head/multimedia/libvdpau/Makefile (contents, props changed) head/multimedia/libvdpau/distinfo (contents, props changed) head/multimedia/libvdpau/pkg-plist (contents, props changed) Modified: head/multimedia/libvdpau/Makefile ============================================================================== --- head/multimedia/libvdpau/Makefile Tue Oct 23 20:53:48 2012 (r306327) +++ head/multimedia/libvdpau/Makefile Tue Oct 23 21:13:33 2012 (r306328) @@ -2,37 +2,52 @@ PORTNAME= libvdpau PORTVERSION= 0.5 +PORTREVISION= 1 CATEGORIES= multimedia -MASTER_SITES= http://people.freedesktop.org/~aplattner/vdpau/ +MASTER_SITES= http://cgit.freedesktop.org/~aplattner/libvdpau/snapshot/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= madpilot@FreeBSD.org COMMENT= VDPAU wrapper and tracing library LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING -USE_AUTOTOOLS= autoconf:env automake:env libtool:env -GNU_CONFIGURE= yes +USE_XZ= yes +USE_AUTOTOOLS= aclocal autoheader automake autoconf libtoolize +ACLOCAL_ARGS= -I. +AUTOMAKE_ARGS= --add-missing CONFIGURE_ARGS= --disable-documentation -USE_GMAKE= yes USE_XORG= dri2proto xext USE_LDCONFIG= yes -.include +OPTIONS_DEFINE= DEBUG + +.include -.if defined(WITH_DEBUG) -CFLAGS+= -DDEBUG +.if ${PORT_OPTIONS:MDEBUG} +CFLAGS+= -D_DEBUG +.else +CFLAGS+= -DNDEBUG .endif +.include + .if defined(STRIP) && ${STRIP} != "" INSTALL_TARGET= install-strip .endif -pre-configure: - @cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ./autogen.sh - -post-patch: +post-patch: .SILENT ${REINPLACE_CMD} 's|$$(libdir)/\(pkgconfig\)|$$(prefix)/libdata/\1|' \ ${WRKSRC}/Makefile.am + ${REINPLACE_CMD} '/^export /d' ${WRKSRC}/doc/Makefile.am + cd ${WRKSRC}/src && ${MV} vdpau_wrapper.cfg vdpau_wrapper.cfg.sample + ${REINPLACE_CMD} 's/vdpau_wrapper.cfg/&.sample/' \ + ${WRKSRC}/src/Makefile.am + +post-install: + if [ ! -f ${PREFIX}/etc/vdpau_wrapper.cfg ]; then \ + ${INSTALL_DATA} ${PREFIX}/etc/vdpau_wrapper.cfg.sample \ + ${PREFIX}/etc/vdpau_wrapper.cfg; \ + fi .include Modified: head/multimedia/libvdpau/distinfo ============================================================================== --- head/multimedia/libvdpau/distinfo Tue Oct 23 20:53:48 2012 (r306327) +++ head/multimedia/libvdpau/distinfo Tue Oct 23 21:13:33 2012 (r306328) @@ -1,2 +1,2 @@ -SHA256 (libvdpau-0.5.tar.gz) = 1dba27b86c94c400d540df0cc5166fb683d1157794867627b5fe9febc96f5e4c -SIZE (libvdpau-0.5.tar.gz) = 478945 +SHA256 (libvdpau-0.5.tar.xz) = d702305349e762efd56b2aa9fbaaeeb8d25836af6fb38cd20017e19637dcfe05 +SIZE (libvdpau-0.5.tar.xz) = 127188 Modified: head/multimedia/libvdpau/pkg-plist ============================================================================== --- head/multimedia/libvdpau/pkg-plist Tue Oct 23 20:53:48 2012 (r306327) +++ head/multimedia/libvdpau/pkg-plist Tue Oct 23 21:13:33 2012 (r306328) @@ -1,4 +1,6 @@ -etc/vdpau_wrapper.cfg +@unexec if cmp -s %D/etc/vdpau_wrapper.cfg.sample %D/etc/vdpau_wrapper.cfg; then rm -f %D/etc/vdpau_wrapper.cfg; fi +etc/vdpau_wrapper.cfg.sample +@exec if [ ! -f %D/etc/vdpau_wrapper.cfg ]; then cp -p %D/%F %B/vdpau_wrapper.cfg; fi include/vdpau/vdpau.h include/vdpau/vdpau_x11.h lib/libvdpau.la