|
Lines 11-16
Link Here
|
| 11 |
|
11 |
|
| 12 |
PORTNAME= vigra |
12 |
PORTNAME= vigra |
| 13 |
PORTVERSION= 1.8.0 |
13 |
PORTVERSION= 1.8.0 |
|
|
14 |
PORTREVISION= 1 |
| 14 |
CATEGORIES= graphics |
15 |
CATEGORIES= graphics |
| 15 |
MASTER_SITES= http://hci.iwr.uni-heidelberg.de/vigra/ |
16 |
MASTER_SITES= http://hci.iwr.uni-heidelberg.de/vigra/ |
| 16 |
DISTNAME= ${PORTNAME}-${PORTVERSION}-src |
17 |
DISTNAME= ${PORTNAME}-${PORTVERSION}-src |
|
Lines 27-32
Link Here
|
| 27 |
|
28 |
|
| 28 |
USE_LDCONFIG= yes |
29 |
USE_LDCONFIG= yes |
| 29 |
|
30 |
|
|
|
31 |
OPTIONS= PYTHON "Python bindings" off |
| 32 |
|
| 33 |
.include <bsd.port.options.mk> |
| 34 |
|
| 35 |
.if defined(WITH_PYTHON) |
| 36 |
CONFLICTS_BUILD= python3* |
| 37 |
USE_PYTHON= 2.6-2.7 |
| 38 |
.else |
| 39 |
CMAKE_ARGS+= -DWITH_VIGRANUMPY=0 |
| 40 |
.endif |
| 41 |
|
| 42 |
.include <bsd.port.pre.mk> |
| 43 |
|
| 30 |
# Vigra's CMakeLists.txt does not support disabling those so we hook them |
44 |
# Vigra's CMakeLists.txt does not support disabling those so we hook them |
| 31 |
# as dependencies here unconditionally (without OPTIONS=) even though if |
45 |
# as dependencies here unconditionally (without OPTIONS=) even though if |
| 32 |
# they are not present then Vigra/CMake will do without them (they are not |
46 |
# they are not present then Vigra/CMake will do without them (they are not |
|
Lines 67-70
Link Here
|
| 67 |
# FIXME: This is ugly |
81 |
# FIXME: This is ugly |
| 68 |
@${RM} ${WRKSRC}/include/vigra/*.orig |
82 |
@${RM} ${WRKSRC}/include/vigra/*.orig |
| 69 |
|
83 |
|
| 70 |
.include <bsd.port.mk> |
84 |
.include <bsd.port.post.mk> |