forked from Lainports/freebsd-ports
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
37 lines
964 B
Makefile
37 lines
964 B
Makefile
# Created by: Dierk Sacher <dierk@blaxxtarz.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ffmpegthumbnailer
|
|
PORTVERSION= 2.0.9
|
|
PORTREVISION= 1
|
|
CATEGORIES= multimedia graphics
|
|
MASTER_SITES= LOCAL/riggs/${PORTNAME}
|
|
|
|
MAINTAINER= clutton@zoho.com
|
|
COMMENT= Lightweight video thumbnailer that can be used by file managers
|
|
|
|
LICENSE= GPLv2 # (or later)
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \
|
|
libswscale.so:${PORTSDIR}/multimedia/ffmpeg \
|
|
libjpeg.so:${PORTSDIR}/graphics/jpeg
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
CONFIGURE_ARGS= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig --enable-gio
|
|
|
|
GNU_CONFIGURE= yes
|
|
INSTALL_TARGET= install-strip
|
|
USES= compiler:c++11-lib libtool pathfix pkgconfig
|
|
USE_GNOME= glib20
|
|
USE_LDCONFIG= yes
|
|
|
|
OPTIONS_DEFINE= THUMBNAILER
|
|
THUMBNAILER_DESC=Register as a system thumbnailer
|
|
OPTIONS_SUB= yes
|
|
OPTIONS_DEFAULT=THUMBNAILER
|
|
|
|
THUMBNAILER_CONFIGURE_ENABLE= thumbnailer
|
|
|
|
.include <bsd.port.mk>
|