1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/devel/bonobo/Makefile
Maxim Sobolev 2a25c285e2 Update to 1.0.6. Due to incompatibilities between our USE_LIBTOOL hack and
newest autocrap used to generate distribution I had to remove USE_LIBTOOL
and use homemade patch to get rid of those .la files.
2001-07-03 17:34:18 +00:00

35 lines
862 B
Makefile

# New ports collection makefile for: bonobo
# Date created: 8th October 1999
# Whom: Ade Lovett <ade@lovett.com>
#
# $FreeBSD$
#
PORTNAME= bonobo
PORTVERSION= 1.0.6
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/bonobo
MAINTAINER= gnome@FreeBSD.org
LIB_DEPENDS= gnomeprint.16:${PORTSDIR}/print/gnomeprint
USE_X_PREFIX= yes
USE_PERL5= yes
USE_GMAKE= yes
USE_GNOMECTRL= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
.include <bsd.port.mk>