Lines 52-65
Link Here
|
52 |
|
52 |
|
53 |
.include <bsd.port.pre.mk> |
53 |
.include <bsd.port.pre.mk> |
54 |
|
54 |
|
55 |
.if ${JAVA_PORT_VERSION} == "1.6.0" |
55 |
.if ${JAVA_PORT_VERSION:M1.6.*} |
56 |
PLIST_SUB+= JDK6="" |
56 |
PLIST_SUB+= JDK6="" |
57 |
PLIST_SUB+= JDK7="@comment " |
57 |
PLIST_SUB+= JDK7="@comment " |
58 |
.else |
58 |
.endif |
|
|
59 |
.if ${JAVA_PORT_VERSION:M1.7.*} |
59 |
PLIST_SUB+= JDK6="@comment " |
60 |
PLIST_SUB+= JDK6="@comment " |
60 |
PLIST_SUB+= JDK7="" |
61 |
PLIST_SUB+= JDK7="" |
61 |
.endif |
62 |
.endif |
|
|
63 |
.if ${JAVA_PORT_VERSION:M1.8.*} |
64 |
PLIST_SUB+= JDK6="@comment " |
65 |
PLIST_SUB+= JDK7="@comment " |
66 |
.endif |
62 |
|
67 |
|
|
|
68 |
.if ${JAVA_PORT_VERSION:M1.8.*} |
69 |
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-build.xml |
70 |
.endif |
71 |
|
63 |
post-patch: |
72 |
post-patch: |
64 |
@${REINPLACE_CMD} -e 's|%%JAVALIBDIR%%|${JAVALIBDIR}|g' \ |
73 |
@${REINPLACE_CMD} -e 's|%%JAVALIBDIR%%|${JAVALIBDIR}|g' \ |
65 |
${WRKSRC}/gluegen/make/build.xml |
74 |
${WRKSRC}/gluegen/make/build.xml |