mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
9a76c75068
- Update maintainer's email - -O2 -> -O3 if WITH_OPTIMIZED_CFLAGS - s/INSTALLS_SHLIB/USE_LDCONFIG/ PR: ports/102145 Submitted by: Simun Mikecin <numisemis at yahoo.com> (maintainer)
65 lines
1.6 KiB
Makefile
65 lines
1.6 KiB
Makefile
# New ports collection makefile for: see-devel
|
|
# Date created: 29 Oct 2005
|
|
# Whom: Simun Mikecin <numisemis@yahoo.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= see
|
|
PORTVERSION= 2.0.1131
|
|
CATEGORIES= lang devel
|
|
MASTER_SITES= http://www.adaptive-enterprises.com.au/~d/software/see/ \
|
|
http://freshmeat.net/redir/see/45974/url_tgz/
|
|
PKGNAMESUFFIX= -devel
|
|
|
|
MAINTAINER= numisemis@yahoo.com
|
|
COMMENT= Simple ECMAScript Engine (SEE)
|
|
|
|
OPTIONS= GC "Use Boehm-Weiser garbage collection package" on \
|
|
OPTIMIZED_CFLAGS "Enable some additional optimizations" off
|
|
|
|
CONFLICTS= see-[0-9]*
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
|
|
|
|
USE_LDCONFIG= yes
|
|
USE_PERL5_BUILD=yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
|
|
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}"
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500000
|
|
BROKEN= does not build on 4.x
|
|
.endif
|
|
|
|
.if defined(WITH_OPTIMIZED_CFLAGS)
|
|
CFLAGS+= -O3 -fomit-frame-pointer
|
|
.endif
|
|
|
|
.if defined(WITH_GC)
|
|
LIB_DEPENDS+= gc:${PORTSDIR}/devel/boehm-gc
|
|
.else
|
|
CONFIGURE_ARGS+= --without-boehm-gc
|
|
PTHREAD_CFLAGS=
|
|
PTHREAD_LIBS=
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s|PACKAGE_BUGREPORT='leonard@users|PACKAGE_BUGREPORT='leonard\\\@users|" \
|
|
${WRKSRC}/configure
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
post-install:
|
|
${MKDIR} ${DOCSDIR}
|
|
.for f in doc/USAGE.html AUTHORS NEWS README TODO COPYING
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|