37 lines
899 B
Makefile
37 lines
899 B
Makefile
# New ports collection makefile for: gdk-pixbuf
|
|
# Date created: 5th October 1999
|
|
# Whom: Ade Lovett <ade@lovett.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME?= gdk-pixbuf
|
|
PORTVERSION= 0.16.0
|
|
CATEGORIES?= graphics
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
MASTER_SITE_SUBDIR= unstable/sources/gdk-pixbuf
|
|
DISTNAME= gdk-pixbuf-${PORTVERSION}
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
|
|
LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png \
|
|
tiff.4:${PORTSDIR}/graphics/tiff \
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg
|
|
|
|
USE_GMAKE= yes
|
|
USE_X_PREFIX= yes
|
|
USE_GTK= yes
|
|
INSTALLS_SHLIB= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LIBS="-L${LOCALBASE}/lib" \
|
|
BUILD_CANVAS="${BUILD_CANVAS}"
|
|
|
|
BUILD_CANVAS?= no
|
|
|
|
pre-patch:
|
|
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
|
|
's|\$$\(datadir\)/aclocal|\$$\(prefix\)/share/aclocal|g'
|
|
|
|
.include <bsd.port.mk>
|