mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
292bb15ff9
rendering and editing API based on GNOME 2.
36 lines
895 B
Makefile
36 lines
895 B
Makefile
# New ports collection makefile for: gtkhtml3
|
|
# Date created: 12 March 2003
|
|
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gtkhtml3
|
|
PORTVERSION= 3.0.3
|
|
CATEGORIES= www gnome
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/3$//}/3.0
|
|
DISTNAME= ${PORTNAME:S/3$//}-${PORTVERSION}
|
|
DIST_SUBDIR= gnome2
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= Lightweight HTML rendering/printing/editing engine
|
|
|
|
LIB_DEPENDS= soup-2.0.0:${PORTSDIR}/devel/libsoup
|
|
|
|
USE_BZIP2= yes
|
|
USE_X_PREFIX= yes
|
|
USE_GMAKE= yes
|
|
USE_REINPLACE= yes
|
|
USE_GNOME= gnomeprefix gnomehack gal2
|
|
INSTALLS_SHLIB= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|