Lines 2-57
Link Here
|
2 |
# $FreeBSD: head/lang/see/Makefile 340722 2014-01-22 17:00:46Z mat $ |
2 |
# $FreeBSD: head/lang/see/Makefile 340722 2014-01-22 17:00:46Z mat $ |
3 |
|
3 |
|
4 |
PORTNAME= see |
4 |
PORTNAME= see |
5 |
PORTVERSION= 2.0.1131 |
5 |
PORTVERSION= 3.1.1424 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= lang devel |
6 |
CATEGORIES= lang devel |
8 |
MASTER_SITES= http://www.powerband.net.au/~david.leonard/ \ |
7 |
MASTER_SITES= http://download.openpkg.org/components/cache/see/ \ |
9 |
http://freshmeat.net/redir/see/45974/url_tgz/ |
8 |
http://lil.fr.distfiles.macports.org/see/ \ |
|
|
9 |
ftp://ftp7.freebsd.org/sites/distfiles.macports.org/see/ \ |
10 |
ftp://ftp.mirrorservice.org/sites/distfiles.macports.org/see/ \ |
11 |
ftp://kuiper.mirrorservice.org/sites/distfiles.macports.org/see/ \ |
12 |
ftp://copernicus.mirrorservice.org/sites/distfiles.macports.org/see/ \ |
13 |
ftp://ftp2.uk.i-scream.org/sites/distfiles.macports.org/see/ \ |
14 |
ftp://mirror.csclub.uwaterloo.ca/MacPorts/mpdistfiles/see/ |
10 |
|
15 |
|
11 |
MAINTAINER= numisemis@yahoo.com |
16 |
MAINTAINER= numisemis@yahoo.com |
12 |
COMMENT= Simple ECMAScript Engine (SEE) |
17 |
COMMENT= Simple ECMAScript Engine (SEE) |
13 |
|
18 |
|
14 |
OPTIONS_DEFINE= GC OPTIMIZED_CFLAGS SEE_DEBUG THREADS DOCS |
19 |
LICENSE= BSD |
15 |
OPTIONS_DEFAULT= GC THREADS |
20 |
|
|
|
21 |
OPTIONS_DEFINE= GC SEE_DEBUG DOCS |
22 |
OPTIONS_DEFAULT= GC DOCS |
16 |
GC_DESC= Use Boehm-Weiser garbage collection package |
23 |
GC_DESC= Use Boehm-Weiser garbage collection package |
17 |
SEE_DEBUG_DESC= Internal SEE library debugging |
24 |
SEE_DEBUG_DESC= Internal SEE library debugging |
18 |
|
25 |
|
19 |
CONFLICTS= see-devel-[0-9]* |
26 |
CONFLICTS= see-devel-[0-9]* |
20 |
|
27 |
|
21 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
28 |
USES= pathfix perl5 |
22 |
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX} |
|
|
23 |
|
24 |
USE_LDCONFIG= yes |
29 |
USE_LDCONFIG= yes |
25 |
USES= perl5 |
|
|
26 |
USE_PERL5= build |
30 |
USE_PERL5= build |
27 |
GNU_CONFIGURE= yes |
31 |
GNU_CONFIGURE= yes |
28 |
|
32 |
|
29 |
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} |
33 |
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} |
30 |
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} |
34 |
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} |
31 |
|
35 |
|
32 |
NO_STAGE= yes |
|
|
33 |
.include <bsd.port.options.mk> |
36 |
.include <bsd.port.options.mk> |
34 |
|
37 |
|
35 |
.if ${PORT_OPTIONS:MMULTIPLE_THREADS} |
38 |
CFLAGS+= -O3 -fno-strict-aliasing |
36 |
CFLAGS+= -DMULTIPLE_THREADS |
|
|
37 |
.endif |
38 |
|
39 |
|
39 |
.if ! ${PORT_OPTIONS:MSEE_DEBUG} |
40 |
.if ! ${PORT_OPTIONS:MSEE_DEBUG} |
40 |
CFLAGS+= -DNDEBUG |
41 |
CFLAGS+= -DNDEBUG |
41 |
.endif |
42 |
.endif |
42 |
|
43 |
|
43 |
.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} |
|
|
44 |
CFLAGS+= -O3 -fomit-frame-pointer |
45 |
.endif |
46 |
|
47 |
.if ${PORT_OPTIONS:MGC} |
44 |
.if ${PORT_OPTIONS:MGC} |
48 |
LIB_DEPENDS+= gc:${PORTSDIR}/devel/boehm-gc |
45 |
LIB_DEPENDS+= libgc.so:${PORTSDIR}/devel/boehm-gc |
49 |
.else |
46 |
.else |
50 |
CONFIGURE_ARGS+= --without-boehm-gc |
47 |
CONFIGURE_ARGS+= --without-boehm-gc |
51 |
.if ! ${PORT_OPTIONS:MTHREADS} |
|
|
52 |
PTHREAD_CFLAGS= |
53 |
PTHREAD_LIBS= |
54 |
.endif |
55 |
.endif |
48 |
.endif |
56 |
|
49 |
|
57 |
post-patch: |
50 |
post-patch: |
Lines 60-68
Link Here
|
60 |
|
53 |
|
61 |
.if ${PORT_OPTIONS:MDOCS} |
54 |
.if ${PORT_OPTIONS:MDOCS} |
62 |
post-install: |
55 |
post-install: |
63 |
${MKDIR} ${DOCSDIR} |
56 |
${MKDIR} ${STAGEDIR}${DOCSDIR} |
64 |
.for f in doc/USAGE.html AUTHORS NEWS README TODO COPYING |
57 |
.for f in doc/USAGE.html AUTHORS NEWS README TODO COPYING |
65 |
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} |
58 |
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} |
66 |
.endfor |
59 |
.endfor |
67 |
.endif |
60 |
.endif |
68 |
|
61 |
|