diff options
author | wg <wg@FreeBSD.org> | 2013-10-26 21:32:19 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2013-10-26 21:32:19 +0800 |
commit | dc9255804a4c8b8df9c35976eae52d60608e4e94 (patch) | |
tree | 79a236164ea7a994d9a3d3b6a17366caa5666786 /multimedia/ffmpegthumbnailer | |
parent | 701621af7f93214402990d319f8de9664ddb93df (diff) | |
download | freebsd-ports-gnome-dc9255804a4c8b8df9c35976eae52d60608e4e94.tar.gz freebsd-ports-gnome-dc9255804a4c8b8df9c35976eae52d60608e4e94.tar.zst freebsd-ports-gnome-dc9255804a4c8b8df9c35976eae52d60608e4e94.zip |
multimedia/ffmpegthumbnailer: allow staging
- Allow staging [1]
- Convert lib depends to new format
- Drop empty PTHREAD_CFLAGS
PR: ports/182848 [1] (based on)
Submitted by: clutton <clutton zoho.com> (maintainer)
Reviewed by: danfe
Diffstat (limited to 'multimedia/ffmpegthumbnailer')
-rw-r--r-- | multimedia/ffmpegthumbnailer/Makefile | 24 | ||||
-rw-r--r-- | multimedia/ffmpegthumbnailer/pkg-plist | 1 |
2 files changed, 9 insertions, 16 deletions
diff --git a/multimedia/ffmpegthumbnailer/Makefile b/multimedia/ffmpegthumbnailer/Makefile index ebc9e6ed1060..de52de49d31a 100644 --- a/multimedia/ffmpegthumbnailer/Makefile +++ b/multimedia/ffmpegthumbnailer/Makefile @@ -7,15 +7,15 @@ PORTREVISION= 2 CATEGORIES= multimedia graphics MASTER_SITES= GOOGLE_CODE -MAINTAINER= mbsd@isgroup.com.ua +MAINTAINER= clutton@zoho.com COMMENT= Lightweight video thumbnailer that can be used by file managers -LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \ - swscale:${PORTSDIR}/multimedia/ffmpeg \ - jpeg:${PORTSDIR}/graphics/jpeg +LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \ + libswscale.so:${PORTSDIR}/multimedia/ffmpeg \ + libjpeg.so:${PORTSDIR}/graphics/jpeg -CPPFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include -LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -pthread -L${LOCALBASE}/lib CONFIGURE_ARGS= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig --enable-gio GNU_CONFIGURE= yes @@ -25,25 +25,17 @@ USE_LDCONFIG= yes OPTIONS_DEFINE= GNOME -MAN1= ffmpegthumbnailer.1 - -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MGNOME} -PKGNAMESUFFIX+= -gnome USE_GNOME+= gconf2 GCONF_SCHEMAS= ffmpegthumbnailer.schemas .endif post-install: - cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE} install-pkgconfigDATA .if ${PORT_OPTIONS:MGNOME} - ${MKDIR} ${PREFIX}/etc/gconf/schemas - ${INSTALL_DATA} ${FILESDIR}/${GCONF_SCHEMAS} ${PREFIX}/etc/gconf/schemas - @${SETENV} GCONF_CONFIG_SOURCE=xml:${GCONF_CONFIG_OPTIONS}:${PREFIX}/${GCONF_CONFIG_DIRECTORY} \ - gconftool-2 --makefile-install-rule ${PREFIX}/etc/gconf/schemas/${GCONF_SCHEMAS} \ - > /dev/null || ${TRUE} + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/gconf/schemas + ${INSTALL_DATA} ${FILESDIR}/${GCONF_SCHEMAS} ${STAGEDIR}${PREFIX}/etc/gconf/schemas .endif .include <bsd.port.mk> diff --git a/multimedia/ffmpegthumbnailer/pkg-plist b/multimedia/ffmpegthumbnailer/pkg-plist index 7f8e8fb27c5b..0d043b283a69 100644 --- a/multimedia/ffmpegthumbnailer/pkg-plist +++ b/multimedia/ffmpegthumbnailer/pkg-plist @@ -10,4 +10,5 @@ lib/libffmpegthumbnailer.la lib/libffmpegthumbnailer.so lib/libffmpegthumbnailer.so.4 libdata/pkgconfig/libffmpegthumbnailer.pc +man/man1/ffmpegthumbnailer.1.gz @dirrm include/libffmpegthumbnailer |