mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
e55014ab42
Support stage Convert to USES=libtool Remove the -devel version which is outdated an no more needed PR: 187954 Submitted by: numisemis@yahoo.com (maintainer)
53 lines
1.6 KiB
Makefile
53 lines
1.6 KiB
Makefile
# Created by: Simun Mikecin <numisemis@yahoo.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= see
|
|
PORTVERSION= 3.1.1424
|
|
CATEGORIES= lang devel
|
|
MASTER_SITES= http://download.openpkg.org/components/cache/see/ \
|
|
http://lil.fr.distfiles.macports.org/see/ \
|
|
ftp://ftp7.freebsd.org/sites/distfiles.macports.org/see/ \
|
|
ftp://ftp.mirrorservice.org/sites/distfiles.macports.org/see/ \
|
|
ftp://kuiper.mirrorservice.org/sites/distfiles.macports.org/see/ \
|
|
ftp://copernicus.mirrorservice.org/sites/distfiles.macports.org/see/ \
|
|
ftp://ftp2.uk.i-scream.org/sites/distfiles.macports.org/see/ \
|
|
ftp://mirror.csclub.uwaterloo.ca/MacPorts/mpdistfiles/see/
|
|
|
|
MAINTAINER= numisemis@yahoo.com
|
|
COMMENT= Simple ECMAScript Engine (SEE)
|
|
|
|
OPTIONS_DEFINE= GC SEE_DEBUG DOCS
|
|
OPTIONS_DEFAULT= GC
|
|
GC_DESC= Use Boehm-Weiser garbage collection package
|
|
SEE_DEBUG_DESC= Internal SEE library debugging
|
|
|
|
CONFLICTS= see-devel-[0-9]*
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
USE_LDCONFIG= yes
|
|
USES= libtool pathfix perl5
|
|
USE_PERL5= build
|
|
GNU_CONFIGURE= yes
|
|
INSTALL_TARGET= install-strip
|
|
|
|
CFLAGS+= -O3 -fomit-frame-pointer
|
|
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
|
|
|
SEE_DEBUG_CFLAGS_OFF= -DNDEBUG
|
|
GC_LIB_DEPENDS= libgc.so:${PORTSDIR}/devel/boehm-gc
|
|
GC_CONFIGURE_WITH= boehm-gc
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s|PACKAGE_BUGREPORT='leonard@users|PACKAGE_BUGREPORT='leonard\\\@users|" \
|
|
${WRKSRC}/configure
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for f in doc/USAGE.html AUTHORS NEWS README TODO COPYING
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|