From f899c758a653ca8ff2f8a63aafcb2519a0b524ed Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Tue, 19 Jul 2016 11:04:13 +0000 Subject: When there is a do-install target, do not use a post-install target, do everything at once. Sometime, rename post-install into a options helper target. I did not fix ports that were such a mess that I could not figure out what they really wanted to do. I also did not change ports that had some version of an auto-plist code in post-install, for the same reason. With hat: portmgr Sponsored by: Absolight --- security/openvpn-auth-radius/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'security/openvpn-auth-radius') diff --git a/security/openvpn-auth-radius/Makefile b/security/openvpn-auth-radius/Makefile index 0dc3700d335e..81200a77027d 100644 --- a/security/openvpn-auth-radius/Makefile +++ b/security/openvpn-auth-radius/Makefile @@ -32,14 +32,11 @@ OPTIONS_DEFINE= DOCS EXAMPLES do-install: ${INSTALL_LIB} ${WRKSRC}/radiusplugin.so ${STAGEDIR}${LOCALBASE}/lib -post-install: -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} -.endif -.if ${PORT_OPTIONS:MEXAMPLES} +post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/radiusplugin.cnf ${STAGEDIR}${EXAMPLESDIR} -.endif .include -- cgit v1.2.3