freebsd-ports/www/gtkhtml3/Makefile

42 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: gtkhtml
# Date created: 2nd June 2000
# Whom: Ade Lovett <ade@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gtkhtml
2002-03-25 15:16:20 -05:00
PORTVERSION= 1.0.2
PORTREVISION= 1
CATEGORIES= www gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= unstable/sources/gtkhtml
2002-03-25 15:16:20 -05:00
DIST_SUBDIR= gnome
MAINTAINER= gnome@FreeBSD.org
LIB_DEPENDS= glibwww.1:${PORTSDIR}/www/glibwww \
2001-01-31 11:22:06 -05:00
pspell.4:${PORTSDIR}/textproc/pspell \
gal.19:${PORTSDIR}/x11-toolkits/gal \
ghttp.1:${PORTSDIR}/www/libghttp
2002-03-25 15:16:20 -05:00
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOMECTRL= yes
INSTALLS_SHLIB= yes
2001-11-20 09:19:40 -05:00
GNU_CONFIGURE= yes
2001-08-03 03:26:43 -04:00
CONFIGURE_ARGS= --with-gconf=yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
2001-11-20 09:19:40 -05:00
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
2002-03-25 15:16:20 -05:00
@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>