aboutsummaryrefslogtreecommitdiff
path: root/www/osb-browser/Makefile
blob: ad6a7e863b65c4f5e7dd42b852757fb818188840 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:	osb-browser
# Date created:		2004-11-29
# Whom:			Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	osb-browser
PORTVERSION=	0.5.0
PORTREVISION=	2
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	gtk-webcore

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Gtk-Webcore example web browser

LIB_DEPENDS=	nrcit.0:${PORTSDIR}/www/osb-nrcit

USE_X_PREFIX=	yes
USE_GNOME=	libglade2 gnomehack gnomeprefix
USE_LIBTOOL_VER=15
USE_REINPLACE=	yes
CONFIGURE_ENV=	CPPFLAGS="${PTHREAD_CFLAGS}" \
		LDFLAGS="${PTHREAD_LIBS}"

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=	Does not compile
.endif

post-patch:
	@${REINPLACE_CMD} -e 's|-lpthread||; s|-nostdinc++||; \
		s|-nodefaultlibs||' ${WRKSRC}/configure

.include <bsd.port.post.mk>