View | Details | Raw Unified | Return to bug 219511 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-22 / +6 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	graphviz
4
PORTNAME=	graphviz
5
PORTVERSION=	2.40.1
5
PORTVERSION=	2.40.1
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	graphics tk
7
CATEGORIES=	graphics tk
8
MASTER_SITES=	http://www.graphviz.org/pub/graphviz/ARCHIVE/
8
MASTER_SITES=	http://www.graphviz.org/pub/graphviz/ARCHIVE/
9
9
Lines 28-37 Link Here
28
28
29
MAKE_ENV=	EXPR_COMPAT=yes
29
MAKE_ENV=	EXPR_COMPAT=yes
30
30
31
SHEBANG_LANG=	tcl
32
tcl_OLD_CMD=	/usr/bin/tclsh
33
tcl_CMD=	${TCLSH}
34
35
FIX_INCLUDE=	\
31
FIX_INCLUDE=	\
36
		lib/cdt/dthdr.h \
32
		lib/cdt/dthdr.h \
37
		lib/pathplan/tri.h lib/pathplan/pathplan.h \
33
		lib/pathplan/tri.h lib/pathplan/pathplan.h \
Lines 141-159 Link Here
141
PERL_CONFIGURE_ENABLE=		perl
137
PERL_CONFIGURE_ENABLE=		perl
142
PHP_CONFIGURE_ENABLE=		php
138
PHP_CONFIGURE_ENABLE=		php
143
PHP_CPPFLAGS=		-I${LOCALBASE}/include/php/Zend
139
PHP_CPPFLAGS=		-I${LOCALBASE}/include/php/Zend
140
PHP_VARS=		SHEBANG_FILES+=tclpkg/gv/demo/modgraph.py
144
PYTHON_CONFIGURE_ENABLE=	python
141
PYTHON_CONFIGURE_ENABLE=	python
145
PYTHON_LDFLAGS=		"-L${PYTHON_LIBDIR}"
142
PYTHON_LDFLAGS=		"-L${PYTHON_LIBDIR}"
143
PYTHON_VARS=		SHEBANG_FILES+=tclpkg/gv/demo/modgraph.py
146
RUBY_CONFIGURE_ENABLE=		ruby
144
RUBY_CONFIGURE_ENABLE=		ruby
147
RUBY_CONFIGURE_ENV=	RUBY="${RUBY}"
145
RUBY_CONFIGURE_ENV=	RUBY="${RUBY}"
146
RUBY_VARS=		SHEBANG_FILES+=tclpkg/gv/demo/modgraph.py
148
LUA_CONFIGURE_ENABLE=		lua
147
LUA_CONFIGURE_ENABLE=		lua
149
LUA_CFLAGS=		-I${LUA_INCDIR}
148
LUA_CFLAGS=		-I${LUA_INCDIR}
150
LUA_LDFLAGS=		-L${LUA_LIBDIR} -lm
149
LUA_LDFLAGS=		-L${LUA_LIBDIR} -lm
151
LUA_CONFIGURE_ENV=	LUA="${LUA_BINDIR}/lua" \
150
LUA_CONFIGURE_ENV=	LUA="${LUA_BINDIR}/lua" \
152
			LUA_INSTALL_DIR=${PREFIX}/lib/lua/${LUA_VER}
151
			LUA_INSTALL_DIR=${PREFIX}/lib/lua/${LUA_VER}
152
LUA_VARS=		SHEBANG_FILES+=tclpkg/gv/demo/modgraph.py
153
TCL_CONFIGURE_ENABLE=		tcl
153
TCL_CONFIGURE_ENABLE=		tcl
154
TCL_CPPFLAGS=		-I${TK_INCLUDEDIR}
154
TCL_CPPFLAGS=		-I${TK_INCLUDEDIR}
155
TCL_CONFIGURE_ON=	--with-tclsh=${TCLSH} --enable-tcl=yes
155
TCL_CONFIGURE_ON=	--with-tclsh=${TCLSH} --enable-tcl=yes
156
TCL_CONFIGURE_ENV=	TCLCONFIG="${TCL_LIBDIR}/tclConfig.sh"
156
TCL_CONFIGURE_ENV=	TCLCONFIG="${TCL_LIBDIR}/tclConfig.sh"
157
TCL_VARS=		SHEBANG_FILES+=tclpkg/gv/demo/modgraph.py
157
TK_CPPFLAGS=		-I${TK_INCLUDEDIR}
158
TK_CPPFLAGS=		-I${TK_INCLUDEDIR}
158
TK_CONFIGURE_ON=	--with-wish=${WISH}
159
TK_CONFIGURE_ON=	--with-wish=${WISH}
159
TK_CONFIGURE_ENV=	TKCONFIG="${TK_LIBDIR}/tkConfig.sh"
160
TK_CONFIGURE_ENV=	TKCONFIG="${TK_LIBDIR}/tkConfig.sh"
Lines 207-229 Link Here
207
CONFIGURE_ENV+=		SWIG="/nonexistent"
208
CONFIGURE_ENV+=		SWIG="/nonexistent"
208
.endif
209
.endif
209
210
210
.if ${PORT_OPTIONS:MPHP}
211
SHEBANG_FILES+=	tclpkg/gv/demo/modgraph.php
212
IGNORE_WITH_PHP=	56 71
213
.endif
214
215
.if ${PORT_OPTIONS:MRUBY}
216
SHEBANG_FILES+=	tclpkg/gv/demo/modgraph.rb
217
.endif
218
219
.if ${PORT_OPTIONS:MLUA}
220
SHEBANG_FILES+=	tclpkg/gv/demo/modgraph.lua
221
.endif
222
223
.if ${PORT_OPTIONS:MTCL}
224
SHEBANG_FILES+=	tclpkg/gv/demo/modgraph.tcl
225
.endif
226
227
post-patch:
211
post-patch:
228
	${FIND} ${WRKSRC} -name Makefile.in | \
212
	${FIND} ${WRKSRC} -name Makefile.in | \
229
		${XARGS} ${REINPLACE_CMD} \
213
		${XARGS} ${REINPLACE_CMD} \

Return to bug 219511