From owner-svn-ports-head@freebsd.org Wed Oct 7 01:36:23 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 693049D055D; Wed, 7 Oct 2015 01:36:23 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 37F822BD; Wed, 7 Oct 2015 01:36:23 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t971aMFi017918; Wed, 7 Oct 2015 01:36:22 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t971aMxd017917; Wed, 7 Oct 2015 01:36:22 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201510070136.t971aMxd017917@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Wed, 7 Oct 2015 01:36:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r398733 - head/net/ocserv X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2015 01:36:23 -0000 Author: amdmi3 Date: Wed Oct 7 01:36:22 2015 New Revision: 398733 URL: https://svnweb.freebsd.org/changeset/ports/398733 Log: - Switch to options helpers - Pet portlint Approved by: portmgr blanket Modified: head/net/ocserv/Makefile Modified: head/net/ocserv/Makefile ============================================================================== --- head/net/ocserv/Makefile Wed Oct 7 00:27:10 2015 (r398732) +++ head/net/ocserv/Makefile Wed Oct 7 01:36:22 2015 (r398733) @@ -21,7 +21,8 @@ LIB_DEPENDS= liblz4.so:${PORTSDIR}/archi libgnutls.so:${PORTSDIR}/security/gnutls \ libtasn1.so:${PORTSDIR}/security/libtasn1 -USES= autoreconf cpe gmake gperf libtool ncurses pathfix pkgconfig readline tar:xz +USES= autoreconf cpe gettext gmake gperf libtool ncurses \ + pathfix pkgconfig readline tar:xz CPE_VENDOR= infradead CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lintl @@ -48,8 +49,6 @@ GSSAPI_USES= gssapi:mit GSSAPI_LIB_DEPENDS= libkrb5support.so:${PORTSDIR}/security/krb5 GSSAPI_CONFIGURE_OFF= --without-gssapi -.include - post-patch: ${RM} ${WRKSRC}/doc/occtl.8 ${RM} ${WRKSRC}/doc/ocpasswd.8 @@ -63,14 +62,12 @@ post-install: ${MKDIR} ${STAGEDIR}/var/run/ocserv/ ${CP} ${FILESDIR}/ocserv.conf ${STAGEDIR}${PREFIX}/etc/ocserv/conf.sample -.if ${PORT_OPTIONS:MDOCS} +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} -.endif -.if ${PORT_OPTIONS:MEXAMPLES} +post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR} -.endif .include