Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Feb 2014 08:43:55 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r345191 - head/graphics/swfdec
Message-ID:  <201402200843.s1K8htRW050408@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mandree
Date: Thu Feb 20 08:43:55 2014
New Revision: 345191
URL: http://svnweb.freebsd.org/changeset/ports/345191
QAT: https://qat.redports.org/buildarchive/r345191/

Log:
  Convert to staging.  Modernize.
  
  Approved by:	portmgr (blanket)

Modified:
  head/graphics/swfdec/Makefile

Modified: head/graphics/swfdec/Makefile
==============================================================================
--- head/graphics/swfdec/Makefile	Thu Feb 20 08:41:47 2014	(r345190)
+++ head/graphics/swfdec/Makefile	Thu Feb 20 08:43:55 2014	(r345191)
@@ -11,12 +11,12 @@ MASTER_SITES=	http://swfdec.freedesktop.
 MAINTAINER=	kwm@FreeBSD.org
 COMMENT=	Flash Rendering Library
 
-LIB_DEPENDS=	oil-0.3.0:${PORTSDIR}/devel/liboil \
-		soup-2.4.1:${PORTSDIR}/devel/libsoup
+LIB_DEPENDS=	liboil-0.3.so:${PORTSDIR}/devel/liboil \
+		libsoup-2.4.so:${PORTSDIR}/devel/libsoup
 
-USES=		pkgconfig
+USES=		pkgconfig pathfix
 USE_LDCONFIG=	yes
-USE_GNOME=	gnomehack gtk20 ltverhack
+USE_GNOME=	gtk20 ltverhack
 USE_GSTREAMER=	core good mp3 ffmpeg
 USE_AUTOTOOLS=	libtool
 CPPFLAGS+=	-I${LOCALBASE}/include
@@ -27,22 +27,25 @@ PLIST_SUB=	VERSION=${PORTVERSION:R}
 OPTIONS_DEFINE=	PULSEAUDIO
 PULSEAUDIO_DESC="Enable the PulseAudio sound module"
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 .if ${PORT_OPTIONS:MPULSEAUDIO}
-LIB_DEPENDS+=		pulse.0:${PORTSDIR}/audio/pulseaudio
+LIB_DEPENDS+=		libpulse.so:${PORTSDIR}/audio/pulseaudio
 CONFIGURE_ARGS+=	--with-audio=pulse
 .else
 CONFIGURE_ARGS+=	--with-audio=oss
 .endif
 
 post-extract:
-	@${CP} ${FILESDIR}/swfdec_playback_oss.c \
+	${CP} ${FILESDIR}/swfdec_playback_oss.c \
 	    	${WRKSRC}/swfdec-gtk
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \
+	${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \
 	    	${WRKSRC}/configure
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libswfdec-${PORTVERSION:R}.so.0
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libswfdec-gtk-${PORTVERSION:R}.so.0
+
 .include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402200843.s1K8htRW050408>