2004-11-30 22:49:48 +01:00
|
|
|
# New ports collection makefile for: osb-jscore
|
|
|
|
# Date created: 2004-11-29
|
|
|
|
# Whom: Michael Johnson <ahze@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= osb-jscore
|
|
|
|
PORTVERSION= 0.5.0
|
2005-11-05 06:22:06 +01:00
|
|
|
PORTREVISION= 2
|
2004-11-30 22:49:48 +01:00
|
|
|
CATEGORIES= lang www java
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= gtk-webcore
|
|
|
|
|
2006-01-29 21:17:42 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-11-30 22:49:48 +01:00
|
|
|
COMMENT= Javascript interpreter port from Apple's KHTML and part of Gtk-Webcore
|
|
|
|
|
2006-09-17 04:35:29 +02:00
|
|
|
BROKEN= Does not compile
|
|
|
|
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2004-11-30 22:49:48 +01:00
|
|
|
USE_GNOME= gtk20 gnomehack
|
2006-08-15 02:29:13 +02:00
|
|
|
USE_LDCONFIG= yes
|
2004-11-30 22:49:48 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" \
|
|
|
|
LDFLAGS="${PTHREAD_LIBS}"
|
|
|
|
CONFIGURE_ARGS= --with-pic
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
@${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' \
|
|
|
|
${WRKSRC}/kjs/ustring.h
|
|
|
|
.endif
|
|
|
|
@${REINPLACE_CMD} -e 's|-lpthread||; s|-nostdinc++||; \
|
|
|
|
s|-nodefaultlibs||' ${WRKSRC}/configure
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|