svn commit: r450722 - head/net/openldap24-server

Xin LI delphij at FreeBSD.org
Wed Sep 27 06:58:01 UTC 2017


Author: delphij
Date: Wed Sep 27 06:57:59 2017
New Revision: 450722
URL: https://svnweb.freebsd.org/changeset/ports/450722

Log:
  Reorder several variable definitions in Makefile.
  
  PR:		ports/222405
  Submitted by:	Yasuhiro KIMURA <yasu utahime org>

Modified:
  head/net/openldap24-server/Makefile

Modified: head/net/openldap24-server/Makefile
==============================================================================
--- head/net/openldap24-server/Makefile	Wed Sep 27 06:40:50 2017	(r450721)
+++ head/net/openldap24-server/Makefile	Wed Sep 27 06:57:59 2017	(r450722)
@@ -13,30 +13,41 @@ MASTER_SITES=		ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SU
 			ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/%SUBDIR%/ \
 			http://www.openldap.org/software/download/OpenLDAP/%SUBDIR%/
 MASTER_SITE_SUBDIR=	openldap-release
-
 .if defined(CLIENT_ONLY)
 .if ${CLIENT_ONLY} == sasl
 PKGNAMESUFFIX=		-sasl-client
-COMMENT=		Open source LDAP client implementation with SASL2 support
-CONFLICTS=		${PKGNAMEPREFIX}${PORTNAME}-client-2.* \
-			${PKGNAMEPREFIX}${PORTNAME}-sasl-client-2.[0-3].*
 .else
 PKGNAMESUFFIX=		-client
-COMMENT=		Open source LDAP client implementation
-CONFLICTS=		${PKGNAMEPREFIX}${PORTNAME}-client-2.[0-3].* \
-			${PKGNAMEPREFIX}${PORTNAME}-sasl-client-2.*
 .endif
 .else
 PKGNAMESUFFIX?=		-server
 .endif
 
 MAINTAINER=		delphij at FreeBSD.org
-COMMENT?=		Open source LDAP server implementation
+.if defined(CLIENT_ONLY)
+.if ${CLIENT_ONLY} == sasl
+COMMENT=		Open source LDAP client implementation with SASL2 support
+.else
+COMMENT=		Open source LDAP client implementation
+.endif
+.else
+COMMENT=		Open source LDAP server implementation
+.endif
 
 LICENSE=		OPENLDAP
 LICENSE_NAME=		OpenLDAP Public License
 LICENSE_FILE=		${WRKSRC}/LICENSE
 LICENSE_PERMS=		dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+.if defined(CLIENT_ONLY)
+.if ${CLIENT_ONLY} == sasl
+CONFLICTS=		${PKGNAMEPREFIX}${PORTNAME}-client-2.* \
+			${PKGNAMEPREFIX}${PORTNAME}-sasl-client-2.[0-3].*
+.else
+CONFLICTS=		${PKGNAMEPREFIX}${PORTNAME}-client-2.[0-3].* \
+			${PKGNAMEPREFIX}${PORTNAME}-sasl-client-2.*
+.endif
+.endif
 
 GNU_CONFIGURE=		yes
 # :keepla because port uses lt_dlopen


More information about the svn-ports-all mailing list