freebsd-ports/devel/libglade2/Makefile

38 lines
1.0 KiB
Makefile

# New ports collection makefile for: libglade2
# Date created: 18 August 1999
# Whom: Ade Lovett <ade@lovett.com>
#
# $FreeBSD$
#
PORTNAME= libglade2
PORTVERSION= 1.99.12
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= pre-gnome2/releases/gnome-2.0-desktop-20020525
DISTNAME= ${PORTNAME:S/2$//}-${PORTVERSION}
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/pyexpat.so:${PORTSDIR}/textproc/py-expat
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \
gtk-x11-2.0.0:${PORTSDIR}/x11-toolkits/gtk20
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pyexpat.so:${PORTSDIR}/textproc/py-expat
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_PYTHON= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
pre-patch:
@find ${WRKSRC} -name Makefile.in | xargs ${PERL} -pi -e \
's|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g'
.include <bsd.port.mk>