Lines 7-14
Link Here
|
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= e4graph |
9 |
PORTNAME= e4graph |
10 |
PORTVERSION= 1.0a8 |
10 |
PORTVERSION= 1.0a9 |
11 |
PORTREVISION= 1 |
|
|
12 |
CATEGORIES= devel tcl84 |
11 |
CATEGORIES= devel tcl84 |
13 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
14 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
Lines 35-44
Link Here
|
35 |
INSTALLS_SHLIB= yes |
34 |
INSTALLS_SHLIB= yes |
36 |
PLIST_SUB= TCL_VER="${TCL_VER}" |
35 |
PLIST_SUB= TCL_VER="${TCL_VER}" |
37 |
|
36 |
|
|
|
37 |
.if defined(WITH_PYTHON) |
38 |
USE_PYTHON= yes |
39 |
CONFIGURE_ARGS+= --enable-python |
40 |
PLIST_SUB+= PYTHON="" |
41 |
.else |
42 |
PLIST_SUB+= PYTHON="@comment " |
43 |
.endif |
44 |
|
38 |
TCL_VER?= 8.4 |
45 |
TCL_VER?= 8.4 |
39 |
TCLVND= ${TCL_VER:S/.//} |
46 |
TCLVND= ${TCL_VER:S/.//} |
40 |
|
47 |
|
41 |
post-patch: |
48 |
post-patch: |
42 |
@${REINPLACE_CMD} -e 's|=-O$$|="$${CFLAGS}"|g' ${WRKSRC}/configure |
49 |
@${REINPLACE_CMD} -e 's|=-O$$|="$${CFLAGS}"|g ; \ |
|
|
50 |
s|gcc -shared|$$(CC) -shared|g' ${WRKSRC}/configure |
43 |
|
51 |
|
44 |
.include <bsd.port.mk> |
52 |
.include <bsd.port.mk> |