2005-04-15 17:08:03 +00:00
|
|
|
# New ports collection makefile for: see
|
|
|
|
# Date created: 22 September 2004
|
2006-02-01 11:46:17 +00:00
|
|
|
# Whom: numisemis@yahoo.com
|
2005-04-15 17:08:03 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= see
|
2006-02-01 11:46:17 +00:00
|
|
|
PORTVERSION= 1.3.1
|
2006-04-11 15:39:41 +00:00
|
|
|
PORTREVISION= 1
|
2006-02-01 11:46:17 +00:00
|
|
|
CATEGORIES= lang devel
|
2006-12-05 15:01:18 +00:00
|
|
|
MASTER_SITES= http://www.powerband.net.au/~david.leonard/
|
2006-02-01 11:46:17 +00:00
|
|
|
|
|
|
|
MAINTAINER= numisemis@yahoo.com
|
2005-04-15 17:08:03 +00:00
|
|
|
COMMENT= Simple ECMAScript Engine (SEE)
|
|
|
|
|
2005-10-31 14:43:04 +00:00
|
|
|
CONFLICTS= see-devel-[0-9]*
|
|
|
|
|
2006-04-11 15:39:41 +00:00
|
|
|
OPTIONS= GC "Use Boehm-Weiser garbage collection pkg" on \
|
2005-04-15 17:08:03 +00:00
|
|
|
OPTIMIZED_CFLAGS "Enable some additional optimizations" off
|
|
|
|
|
2007-02-01 02:42:05 +00:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2005-04-15 17:08:03 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_PERL5_BUILD= yes
|
|
|
|
|
|
|
|
CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
|
|
|
|
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}"
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_OPTIMIZED_CFLAGS)
|
2006-02-01 11:46:17 +00:00
|
|
|
CFLAGS+= -O3 -fomit-frame-pointer
|
2005-04-15 17:08:03 +00:00
|
|
|
.endif
|
|
|
|
|
2006-04-11 15:39:41 +00:00
|
|
|
.if !defined(WITHOUT_GC)
|
2005-04-15 17:08:03 +00:00
|
|
|
LIB_DEPENDS+= gc:${PORTSDIR}/devel/boehm-gc
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-boehm-gc
|
|
|
|
PTHREAD_CFLAGS=
|
|
|
|
PTHREAD_LIBS=
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
2006-02-01 11:46:17 +00:00
|
|
|
@${REINPLACE_CMD} -e "s|PACKAGE_BUGREPORT='leonard@users|PACKAGE_BUGREPORT='leonard\\\@users|" \
|
2005-04-15 17:08:03 +00:00
|
|
|
${WRKSRC}/configure
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
post-install:
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for f in doc/USAGE.html AUTHORS NEWS README TODO
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|