|
Lines 22-43
Link Here
|
| 22 |
USE_RC_SUBR= geronimo2.sh |
22 |
USE_RC_SUBR= geronimo2.sh |
| 23 |
SUB_FILES= pkg-install pkg-deinstall |
23 |
SUB_FILES= pkg-install pkg-deinstall |
| 24 |
|
24 |
|
| 25 |
OPTIONS= JETTY6 "Use Jetty6 as web server" on \ |
25 |
OPTIONS= TOMCAT6 "Use Tomcat instead of default Jetty" off |
| 26 |
TOMCAT6 "Use Tomcat as web server" off |
|
|
| 27 |
|
26 |
|
| 28 |
.include <bsd.port.pre.mk> |
27 |
.include <bsd.port.pre.mk> |
| 29 |
|
28 |
|
| 30 |
.if defined(WITH_JETTY6) && defined(WITH_TOMCAT6) |
29 |
.if defined(WITH_TOMCAT6) |
| 31 |
BROKEN= Choose only one web server |
|
|
| 32 |
.endif |
| 33 |
.if defined(WITHOUT_JETTY6) && defined(WITHOUT_TOMCAT6) |
| 34 |
BROKEN= Choose one web server |
| 35 |
.endif |
| 36 |
|
| 37 |
.if defined(WITH_JETTY6) |
| 38 |
WEBSERVER= jetty6 |
| 39 |
.elif defined(WITH_TOMCAT6) |
| 40 |
WEBSERVER= tomcat6 |
30 |
WEBSERVER= tomcat6 |
|
|
31 |
.else |
| 32 |
WEBSERVER= jetty6 |
| 41 |
.endif |
33 |
.endif |
| 42 |
|
34 |
|
| 43 |
MAJOR_VER= ${PORTVERSION:C/\..*//} |
35 |
MAJOR_VER= ${PORTVERSION:C/\..*//} |