blob: 09e97486aaf4cae110b75d44218074211d7b9a5c (
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
43
44
|
# New ports collection makefile for: gdk-pixbuf
# Date created: 5th October 1999
# Whom: Ade Lovett <ade@lovett.com>
#
# $FreeBSD$
# $MCom: ports/graphics/gdk-pixbuf2/Makefile,v 1.4 2010/07/12 14:14:14 kwm Exp $
PORTNAME?= gdk-pixbuf
PORTVERSION= 2.21.7
CATEGORIES?= graphics
MASTER_SITES= GNOME
MASTER_SITE_SUBDIR= sources/gdk-pixbuf/${PORTVERSION:R}
DISTNAME= gdk-pixbuf-${PORTVERSION}
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= A graphic library for GTK+
BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff \
jpeg.11:${PORTSDIR}/graphics/jpeg
LATEST_LINK= gdk-pixbuf2
USE_BZIP2= yes
USE_GMAKE= yes
USE_XORG= xt xi x11
USE_AUTOTOOLS= libtool:22
USE_GNOME+= gnomehack glib20 ltverhack
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-introspection=yes
MAN1= gdk-pixbuf-csource.1 gdk-pixbuf-query-loaders.1
post-patch:
@${REINPLACE_CMD} -e 's|" == "|" = "|g' ${WRKSRC}/configure
post-install:
@cd ${WRKSRC}/docs/reference/gdk-pixbuf && gmake install-man1
.include <bsd.port.mk>
|