Lines 5-18
Link Here
|
5 |
# $FreeBSD: ports/lang/pike76/Makefile,v 1.5 2004/03/29 09:05:05 kris Exp $ |
5 |
# $FreeBSD: ports/lang/pike76/Makefile,v 1.5 2004/03/29 09:05:05 kris Exp $ |
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= pike75 |
8 |
PORTNAME= pike76 |
9 |
PORTVERSION= 7.5.21 |
9 |
PORTVERSION= 7.6.3 |
10 |
CATEGORIES= lang |
10 |
CATEGORIES= lang |
11 |
MASTER_SITES= ftp://pike.ida.liu.se/pub/pike/all/${PORTVERSION}/ \ |
11 |
MASTER_SITES= ftp://pike.ida.liu.se/pub/pike/all/${PORTVERSION}/ \ |
12 |
ftp://ftp.oav.net/pike/7.5/export/ \ |
12 |
ftp://ftp.oav.net/pike/7.6/ \ |
13 |
http://grendel.firewall.com/caudium-pkg/ \ |
|
|
14 |
ftp://ftp.caudium.net/pike/official_releases/${PORTVERSION}/ |
13 |
ftp://ftp.caudium.net/pike/official_releases/${PORTVERSION}/ |
15 |
DISTNAME= Pike-v${PORTVERSION} |
14 |
DISTNAME= pike-${PORTVERSION} |
16 |
|
15 |
|
17 |
MAINTAINER= kiwi@oav.net |
16 |
MAINTAINER= kiwi@oav.net |
18 |
COMMENT= A dynamic programming language with a syntax similar to C++ |
17 |
COMMENT= A dynamic programming language with a syntax similar to C++ |
Lines 28-38
Link Here
|
28 |
OPTIONS= TTF "Add FreeType 1 support" on \ |
27 |
OPTIONS= TTF "Add FreeType 1 support" on \ |
29 |
FREETYPE "Add FreeType 2 support" on \ |
28 |
FREETYPE "Add FreeType 2 support" on \ |
30 |
OPT_CFLAGS "Enable additional compiliation optimizations" on \ |
29 |
OPT_CFLAGS "Enable additional compiliation optimizations" on \ |
31 |
MYSQL "Add MySQL support" on |
30 |
MYSQL "Add MySQL support" on \ |
|
|
31 |
FFMPEG "Add FFmpeg support" off \ |
32 |
POSTGRESQL "Add Postgres SQL support" off \ |
33 |
UNIXODBC "Add UnixODBC support (incompatible with IODBC)" off \ |
34 |
IODBC "Add iODBC support (incompatible with UnixODBC)" off \ |
35 |
SANE "Add SANE support" off \ |
36 |
PDF "Add PDF support" off \ |
37 |
SVG2 "Add SVG2 support" off \ |
38 |
TDS "Add FreeTDS (Sybase and MSSQL) support" off |
32 |
|
39 |
|
33 |
MAN1= pike.1 |
40 |
MAN1= pike.1 |
34 |
|
41 |
|
35 |
WRKSRC= ${WRKDIR}/Pike-v${PORTVERSION}/src/ |
42 |
WRKSRC= ${WRKDIR}/${DISTNAME}/src/ |
36 |
|
43 |
|
37 |
WANT_MESA= yes |
44 |
WANT_MESA= yes |
38 |
|
45 |
|
Lines 72-81
Link Here
|
72 |
|
79 |
|
73 |
.include <bsd.port.pre.mk> |
80 |
.include <bsd.port.pre.mk> |
74 |
|
81 |
|
75 |
.if ${ARCH} != "i386" |
|
|
76 |
BROKEN= "Does not build on !i386 (errors running pike binary during build)" |
77 |
.endif |
78 |
|
79 |
PLIST_SUB+= PORTVERSION=${PORTVERSION} |
82 |
PLIST_SUB+= PORTVERSION=${PORTVERSION} |
80 |
|
83 |
|
81 |
# FreeBSD 5.0 Needs to have libgmp port to support gmp. |
84 |
# FreeBSD 5.0 Needs to have libgmp port to support gmp. |
Lines 89-162
Link Here
|
89 |
USE_PERL5= YES |
92 |
USE_PERL5= YES |
90 |
.else |
93 |
.else |
91 |
CONFIGURE_ARGS+= --without-perl |
94 |
CONFIGURE_ARGS+= --without-perl |
92 |
.endif |
|
|
93 |
|
94 |
.if exists(${LOCALBASE}/lib/libavcodec.so.0) |
95 |
WITH_FFMPEG= yes |
96 |
OPTIONS+= FFMPEG "Add FFmpeg support" on |
97 |
.else |
98 |
OPTIONS+= FFMPEG "Add FFmpeg support" off |
99 |
.endif |
100 |
|
101 |
.if exists(${LOCALBASE}/lib/libttf.so.4) |
102 |
WITH_TTF= yes |
103 |
.endif |
104 |
|
105 |
.if exists(${LOCALBASE}/lib/libfreetype.so.9) |
106 |
WITH_FREETYPE= yes |
107 |
.endif |
108 |
|
109 |
.if exists(${LOCALBASE}/lib/libpq.so.3) |
110 |
WITH_POSTGRES= yes |
111 |
OPTIONS+= POSTGRES "Add Postgres SQL support" on |
112 |
.else |
113 |
OPTIONS+= POSTGRES "Add Postgres SQL support" off |
114 |
.endif |
115 |
|
116 |
.if exists(${LOCALBASE}/lib/libodbc.so.1) |
117 |
WITH_UNIXODBC= yes |
118 |
OPTIONS+= UNIXODBC "Add UnixODBC support (incompatible with IODBC)" on |
119 |
.else |
120 |
OPTIONS+= UNIXODBC "Add UnixODBC support (incompatible with IODBC)" off |
121 |
.endif |
122 |
|
123 |
.if exists(${LOCALBASE}/lib/libiodbc.so.2) |
124 |
WITH_IODBC= yes |
125 |
OPTIONS+= IODBC "Add iODBC support (incompatible with UnixODBC)" on |
126 |
.else |
127 |
OPTIONS+= IODBC "Add iODBC support (incompatible with UnixODBC)" off |
128 |
.endif |
129 |
|
130 |
.if exists(${LOCALBASE}/lib/libsane.so.1) |
131 |
WITH_SANE= yes |
132 |
OPTIONS+= SANE "Add SANE support" on |
133 |
.else |
134 |
OPTIONS+= SANE "Add SANE support" off |
135 |
.endif |
136 |
|
137 |
.if exists(${LOCALBASE}/lib/libgtkgl.so.5) |
138 |
WITH_MESA= yes |
139 |
.endif |
140 |
|
141 |
.if exists(${LOCALBASE}/lib/libpdf.so.6) || exists(${LOCALBASE}/lib/libpanda.so.0) |
142 |
WITH_PDF= yes |
143 |
OPTIONS+= PDF "Add PDF support" on |
144 |
.else |
145 |
OPTIONS+= PDF "Add PDF support" off |
146 |
.endif |
147 |
|
148 |
.if exists(${LOCALBASE}/lib/librsvg-2.so.2) |
149 |
WITH_SVG2= yes |
150 |
OPTIONS+= SVG2 "Add SVG2 support" on |
151 |
.else |
152 |
OPTIONS+= SVG2 "Add SVG2 support" off |
153 |
.endif |
154 |
|
155 |
.if exists(${LOCALBASE}/lib/libct.so.1) |
156 |
WITH_TDS= yes |
157 |
OPTIONS+= TDS "Add FreeTDS (Sybase and MSSQL) support" on |
158 |
.else |
159 |
OPTIONS+= TDS "Add FreeTDS (Sybase and MSSQL) support" off |
160 |
.endif |
95 |
.endif |
161 |
|
96 |
|
162 |
.if defined(WITHOUT_RELOCATABLE_DUMPED_MODULES) |
97 |
.if defined(WITHOUT_RELOCATABLE_DUMPED_MODULES) |