Utilize option helpers and avoid doing .include <bsd.port.options.mk>
This commit is contained in:
parent
d647585b89
commit
d2cee3a994
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=400004
@ -21,18 +21,13 @@ PLIST_FILES= bin/ipaggcreate bin/ipsumdump bin/ipaggmanip \
|
||||
OPTIONS_DEFINE= IPV6 DOCS
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
IPV6_CATEGORIES= ipv6
|
||||
IPV6_CONFIGURE_ENABLE= ipv6
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
# Try to unbreak parallel (-jX) builds
|
||||
post-patch:
|
||||
@${ECHO_CMD} 'src: @LIBCLICK_TARGET@' >> ${WRKSRC}/Makefile.in
|
||||
|
||||
.if ${PORT_OPTIONS:MIPV6}
|
||||
CATEGORIES+= ipv6
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
||||
|
Loading…
Reference in New Issue
Block a user