2000-06-09 16:38:10 +00:00
|
|
|
# New ports collection makefile for: gtkhtml
|
|
|
|
# Date created: 2nd June 2000
|
|
|
|
# Whom: Ade Lovett <ade@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gtkhtml
|
2000-08-17 16:41:52 +00:00
|
|
|
PORTVERSION= 0.6.1
|
2000-09-28 18:04:24 +00:00
|
|
|
PORTREVISION= 1
|
2000-06-09 16:38:10 +00:00
|
|
|
CATEGORIES= www gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
|
|
MASTER_SITE_SUBDIR= unstable/sources/gtkhtml
|
|
|
|
|
|
|
|
MAINTAINER= ade@FreeBSD.org
|
|
|
|
|
|
|
|
LIB_DEPENDS= bonobo.2:${PORTSDIR}/devel/bonobo \
|
2000-07-27 08:16:54 +00:00
|
|
|
wwwzip.1:${PORTSDIR}/www/libwww \
|
2000-10-03 17:37:51 +00:00
|
|
|
gconf-1.1:${PORTSDIR}/devel/gconf \
|
2000-09-28 18:04:24 +00:00
|
|
|
pspell.2:${PORTSDIR}/textproc/pspell
|
2000-06-09 16:38:10 +00:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
2000-10-05 07:17:31 +00:00
|
|
|
USE_GNOME= yes
|
2000-06-09 16:38:10 +00:00
|
|
|
USE_LIBTOOL= yes
|
2000-06-16 21:52:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-06-09 16:38:10 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
|
2000-08-04 16:11:37 +00:00
|
|
|
pre-patch:
|
2000-08-04 01:34:38 +00:00
|
|
|
@${PERL} -pi -e 's|-lpthread|-pthread|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'
|
|
|
|
|
2000-06-09 16:38:10 +00:00
|
|
|
.include <bsd.port.mk>
|