Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jun 2019 09:01:47 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r503291 - head/dns/ldapdns
Message-ID:  <201906020901.x5291lZa006084@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Jun  2 09:01:46 2019
New Revision: 503291
URL: https://svnweb.freebsd.org/changeset/ports/503291

Log:
  - Switch to USES=localbase
  - Pet portlint
  - Switch to options helpers
  - Update WWW
  
  Approved by:	portmgr blanket

Modified:
  head/dns/ldapdns/Makefile
  head/dns/ldapdns/pkg-descr

Modified: head/dns/ldapdns/Makefile
==============================================================================
--- head/dns/ldapdns/Makefile	Sun Jun  2 08:31:17 2019	(r503290)
+++ head/dns/ldapdns/Makefile	Sun Jun  2 09:01:46 2019	(r503291)
@@ -16,15 +16,11 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 RUN_DEPENDS=	setuidgid:sysutils/daemontools \
 		tcpserver:sysutils/ucspi-tcp
 
-OPTIONS_DEFINE=	DOCS EXAMPLES
-
+USES=		localbase:ldflags shebangfix tar:xz
 USE_OPENLDAP=	yes
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	--prefix=${PREFIX}
-CFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 USE_CSTD=	gnu89
-USES=		shebangfix tar:xz
 SHEBANG_FILES=	admin/*
 
 ALL_TARGET=	default
@@ -33,12 +29,18 @@ PROGRAMS=	ldapdns ldapaxfr
 SCRIPTS=	ldapdns-conf ldapaxfr-conf domainname.sh
 PORTDOCS=	AUTHORS CHANGELOG FAQ INSTALL README README.[a-s]*
 
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
 do-install:
 	${INSTALL_PROGRAM} ${PROGRAMS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_SCRIPT} ${SCRIPTS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin
+
+do-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/admin
 	${INSTALL_DATA} ${WRKSRC}/sample/* ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_SCRIPT} ${WRKSRC}/admin/* ${STAGEDIR}${EXAMPLESDIR}/admin
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 

Modified: head/dns/ldapdns/pkg-descr
==============================================================================
--- head/dns/ldapdns/pkg-descr	Sun Jun  2 08:31:17 2019	(r503290)
+++ head/dns/ldapdns/pkg-descr	Sun Jun  2 09:01:46 2019	(r503291)
@@ -2,4 +2,4 @@ ldapdns is a lightweight, high performance DNS server 
 LDAP as its backend. It was originally based on djbdns, and strives to
 maintain the same goals of performance, security and simplicity.
 
-WWW: http://bsdforge.com/projects/dns/ldapdns
+WWW: https://bsdforge.com/projects/dns/ldapdns/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906020901.x5291lZa006084>