aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/ffmpegthumbnailer/Makefile
blob: a4f61e46131745fe426690af79508a5e55acde83 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:    ffmpegthumbnailer
# Date created:     Mo 18 Feb 2008 06:11:13 CET
# Whom:         Dierk Sacher <dierk@blaxxtarz.de>
#
# $FreeBSD$

PORTNAME=   ffmpegthumbnailer
PORTVERSION=    2.0.4
PORTREVISION=   2
CATEGORIES= multimedia graphics
MASTER_SITES=   GOOGLE_CODE

MAINTAINER= dierk@blaxxtarz.de
COMMENT=    Lightweight video thumbnailer that can be used by file managers

LIB_DEPENDS=    png:${PORTSDIR}/graphics/png \
        swscale:${PORTSDIR}/multimedia/ffmpeg \
        jpeg.11:${PORTSDIR}/graphics/jpeg

LDFLAGS+=   ${PTHREAD_LIBS} -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_GNOME=  gnomehack pkgconfig
USE_LDCONFIG=   yes

MAN1=       ffmpegthumbnailer.1

SUB_FILES=  pkg-message

post-install:
    cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE} install-pkgconfigDATA
    ${MKDIR} ${DATADIR}
    ${INSTALL_SCRIPT} ${FILESDIR}/bind-nautilus.sh ${DATADIR}
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>