aboutsummaryrefslogtreecommitdiff
path: root/graphics/gimp-gap/Makefile
blob: 1a8215c64f1881171db173bcb7527d07c049f8c9 (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
39
40
41
42
# New ports collection makefile for:	gimp-gap
# Date created:		2007-08-22
# Whom:			Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	gimp-gap
PORTVERSION=	2.4.0
PORTREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	ftp://ftp.gimp.org/pub/%SUBDIR%/ \
		http://gimp.mirrors.hoobly.com/%SUBDIR%/ \
		http://ftp.gwdg.de/pub/misc/grafik/gimp/%SUBDIR%/ \
		ftp://ftp.fh-heilbronn.de/mirrors/ftp.gimp.org/%SUBDIR%/ \
		ftp://ftp.insync.net/pub/mirrors/ftp.gimp.org/%SUBDIR%/ \
		http://www.mirrorservice.org/sites/ftp.gimp.org/pub/%SUBDIR%/ \
		${MASTER_SITE_RINGSERVER:S,%SUBDIR%,graphics/%SUBDIR%,}
MASTER_SITE_SUBDIR=	gimp/plug-ins/v${PORTVERSION:R}/gap

MAINTAINER=	ahze@FreeBSD.org
COMMENT=	GIMP Animation Package

BUILD_DEPENDS=	wavplay:${PORTSDIR}/audio/wavplay \
		${LOCALBASE}/lib/libmpeg3.a:${PORTSDIR}/multimedia/libmpeg3
LIB_DEPENDS=	xvidcore.4:${PORTSDIR}/multimedia/xvid \
		avcodec.1:${PORTSDIR}/multimedia/ffmpeg \
		gimp-2.0:${PORTSDIR}/graphics/gimp-app
RUN_DEPENDS=	wavplay:${PORTSDIR}/audio/wavplay \
		gimp>0:${PORTSDIR}/graphics/gimp \
		mpeg2encode:${PORTSDIR}/multimedia/mpeg2codec \
		mpeg_encode:${PORTSDIR}/multimedia/mpeg_encode

USE_BZIP2=	yes
USE_GETTEXT=	yes
GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_GNOME=	intltool
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/ffmpeg" \
		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"

.include <bsd.port.mk>