freebsd-ports/www/osb-browser/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

37 lines
814 B
Makefile

# 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= 4
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_AUTOTOOLS= libtool: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>