1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- USES=libtool.

- INSTALL_TARGET=install-strip.
This commit is contained in:
Tijl Coosemans 2014-05-18 17:25:18 +00:00
parent 8184ab5b38
commit 28f30a1d62
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354444
2 changed files with 9 additions and 12 deletions

View File

@ -4,7 +4,7 @@
PORTNAME= swfdec
PORTVERSION= 0.8.4
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= graphics
MASTER_SITES= http://swfdec.freedesktop.org/download/swfdec/0.8/
@ -14,11 +14,12 @@ COMMENT= Flash Rendering Library
LIB_DEPENDS= liboil-0.3.so:${PORTSDIR}/devel/liboil \
libsoup-2.4.so:${PORTSDIR}/devel/libsoup
USES= pkgconfig pathfix
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USES= libtool pathfix pkgconfig
USE_LDCONFIG= yes
USE_GNOME= gtk20 ltverhack
USE_GNOME= gtk20
USE_GSTREAMER= core good mp3 ffmpeg
USE_AUTOTOOLS= libtool
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -Wl,-Bsymbolic -L${LOCALBASE}/lib
@ -27,7 +28,7 @@ PLIST_SUB= VERSION=${PORTVERSION:R}
OPTIONS_DEFINE= PULSEAUDIO
PULSEAUDIO_DESC="Enable the PulseAudio sound module"
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPULSEAUDIO}
LIB_DEPENDS+= libpulse.so:${PORTSDIR}/audio/pulseaudio
@ -44,8 +45,4 @@ post-patch:
${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>
.include <bsd.port.mk>

View File

@ -32,13 +32,13 @@ include/swfdec-%%VERSION%%/swfdec/swfdec_system.h
include/swfdec-%%VERSION%%/swfdec/swfdec_url.h
include/swfdec-%%VERSION%%/swfdec/swfdec_version.h
lib/libswfdec-%%VERSION%%.a
lib/libswfdec-%%VERSION%%.la
lib/libswfdec-%%VERSION%%.so
lib/libswfdec-%%VERSION%%.so.0
lib/libswfdec-%%VERSION%%.so.0.0.0
lib/libswfdec-gtk-%%VERSION%%.a
lib/libswfdec-gtk-%%VERSION%%.la
lib/libswfdec-gtk-%%VERSION%%.so
lib/libswfdec-gtk-%%VERSION%%.so.0
lib/libswfdec-gtk-%%VERSION%%.so.0.0.0
libdata/pkgconfig/swfdec-%%VERSION%%.pc
libdata/pkgconfig/swfdec-gtk-%%VERSION%%.pc
share/gtk-doc/html/swfdec/SwfdecAsArray.html