mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
54a0b86543
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.
37 lines
874 B
Makefile
37 lines
874 B
Makefile
# 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
|
|
PORTREVISION= 2
|
|
CATEGORIES= lang www java
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= gtk-webcore
|
|
|
|
MAINTAINER= ahze@FreeBSD.org
|
|
COMMENT= Javascript interpreter port from Apple's KHTML and part of Gtk-Webcore
|
|
|
|
USE_AUTOTOOLS= libtool:15
|
|
USE_REINPLACE= yes
|
|
USE_GNOME= gtk20 gnomehack
|
|
INSTALLS_SHLIB= yes
|
|
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>
|