diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-09-11 17:59:25 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-09-11 17:59:25 +0000 |
commit | 9725468786056ffed1bddc425196431b19dc510d (patch) | |
tree | f91aec68d1f0c29794f720f8d46c1c08c2d88607 /net/dhcprelya | |
parent | e500498264128b1140d0489ece8354287fec92b7 (diff) | |
download | ports-9725468786056ffed1bddc425196431b19dc510d.tar.gz ports-9725468786056ffed1bddc425196431b19dc510d.zip |
Notes
Diffstat (limited to 'net/dhcprelya')
-rw-r--r-- | net/dhcprelya/Makefile | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/net/dhcprelya/Makefile b/net/dhcprelya/Makefile index 22d3cc8d36ef..cacad1655271 100644 --- a/net/dhcprelya/Makefile +++ b/net/dhcprelya/Makefile @@ -21,27 +21,19 @@ PORTDOCS= README PLIST_FILES= sbin/${PORTNAME} lib/${PORTNAME}_log_plugin.so \ lib/${PORTNAME}_option82_plugin.so +OPTIONS_DEFINE= DOCS # The modules use a new system libradius that is not committed yet #OPTIONS_DEFINE= RADIUS_PLUGIN -RADIUS_PLUGIN_PLUGIN_DESC= build radius plugin - -OPTIONS_DEFINE= DOCS - -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MRADIUS_PLUGIN} -PLIST_FILES+= lib/${PORTNAME}_radius_plugin.so -MAKE_ARGS= -DWITH_RADIUS_PLUGIN -.endif +RADIUS_PLUGIN_DESC= Build radius plugin +RADIUS_PLUGIN_PLIST_FILES= lib/${PORTNAME}_radius_plugin.so +RADIUS_PLUGIN_MAKE_ON= -DWITH_RADIUS_PLUGIN post-patch: - @${REINPLACE_CMD} -e 's#/usr/local#${STAGEDIR}/${PREFIX}#' \ + @${REINPLACE_CMD} -e 's#/usr/local#${STAGEDIR}${PREFIX}#' \ ${WRKSRC}/Makefile -post-install: -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${STAGEDIR}/${DOCSDIR} +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}/${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}/${DOCSDIR} -.endif .include <bsd.port.mk> |