aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/imagination/Makefile
blob: b14e12312d80ecbbe8fe4146cd1a65ec9429a3bb (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
# Created by: Jesse <jessefrgsmith@yahoo.ca>
# $FreeBSD$

PORTNAME=   imagination
PORTVERSION=    3.0
PORTREVISION=   5
CATEGORIES= multimedia
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/

MAINTAINER= jessefrgsmith@yahoo.ca
COMMENT=    DVD slideshow maker

LIB_DEPENDS=    libsox.so:${PORTSDIR}/audio/sox \
        libavcodec.so:${PORTSDIR}/multimedia/ffmpeg

GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LIBS+=      -L${LOCALBASE}/lib
USES=       gmake pkgconfig libtool
USE_GNOME=  gtk20 intltool libxslt
INSTALLS_ICONS= yes
INSTALL_TARGET= install-strip

OPTIONS_DEFINE= NLS
OPTIONS_SUB=    yes
NLS_CONFIGURE_ENABLE=   nls
NLS_USES=   gettext

post-patch:
    @${REINPLACE_CMD} '/^SUBDIRS =/s/doc//' ${WRKSRC}/Makefile.in
    @${REINPLACE_CMD} '/^imagination_LDADD =/s/$$/ -lm/' \
        ${WRKSRC}/src/Makefile.in

.include <bsd.port.mk>