aboutsummaryrefslogtreecommitdiffstats
path: root/www/osb-nrcit/Makefile
blob: 680ab41ec7c8645de014d2bfca2871c3b72cc2c7 (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
38
39
40
# New ports collection makefile for:    osb-nrcit
# Date created:     2004-11-29
# Whom:         Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   osb-nrcit
PORTVERSION=    0.5.2
PORTREVISION=   1
CATEGORIES= www
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gtk-webcore

MAINTAINER= ports@FreeBSD.org
COMMENT=    Gtk+ WebCore embeddable web browser component

BUILD_DEPENDS=  osb-nrcore>=0.5.2:${PORTSDIR}/www/osb-nrcore
LIB_DEPENDS=    curl.4:${PORTSDIR}/ftp/curl
RUN_DEPENDS=    osb-nrcore>=0.5.2:${PORTSDIR}/www/osb-nrcore

USE_GNOME=  gnomehack gnometarget gtk20 librsvg2
USE_AUTOTOOLS=  libtool:15
CONFGURE_ENV=   CPPFLAGS="${PTHREAD_CFLAGS}" \
        LDFLAGS="${PTHREAD_LIBS}"
USE_LDCONFIG=   yes

.include <bsd.port.pre.mk>

.if ${ARCH} != "i386" && ${ARCH} != "amd64"
BROKEN=     Does not compile on !i386 and !amd64
.endif

post-patch:
    @${REINPLACE_CMD} -e '/test/s|==|=|g ; \
         s|-nostdinc++||g ; \
         s|-Werror||g ; \
         s|-nodefaultlibs -lgcc -lc||g' ${WRKSRC}/configure

.include <bsd.port.post.mk>