Lines 22-36
PLIST_SUB+= VERSION=${PORTVERSION}
Link Here
|
22 |
USE_PERL5= yes |
22 |
USE_PERL5= yes |
23 |
USE_AUTOTOOLS= autoconf |
23 |
USE_AUTOTOOLS= autoconf |
24 |
|
24 |
|
25 |
OPTIONS= IPV6 "Enable IPv6 PTR lookups" off |
25 |
OPTIONS_DEFINE= IPV6 |
|
|
26 |
OPTIONS_DEFAULT= |
26 |
|
27 |
|
27 |
.ifdef(WITH_IPV6) |
28 |
IPV6_DESC= Enable IPv6 PTR lookups |
|
|
29 |
|
30 |
.include <bsd.port.options.mk> |
31 |
|
32 |
.if ${PORT_OPTIONS:MIPV6} |
28 |
BUILD_DEPENDS+= p5-Socket6>=0:${PORTSDIR}/net/p5-Socket6 |
33 |
BUILD_DEPENDS+= p5-Socket6>=0:${PORTSDIR}/net/p5-Socket6 |
29 |
CONFIGURE_ARGS+= --enable-ipv6 |
34 |
CONFIGURE_ARGS+= --enable-ipv6 |
|
|
35 |
.else |
36 |
CONFIGURE_ARGS+= --disable-ipv6 |
30 |
.endif |
37 |
.endif |
31 |
|
38 |
|
32 |
post-install: |
39 |
post-install: |
33 |
.ifndef(NOPORTDOCS) |
40 |
.if ${PORT_OPTIONS:MDOCS} |
34 |
@${MKDIR} ${DOCSDIR}/ |
41 |
@${MKDIR} ${DOCSDIR}/ |
35 |
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ |
42 |
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ |
36 |
.endif |
43 |
.endif |