Date: Wed, 7 Oct 2015 01:36:22 +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: r398733 - head/net/ocserv Message-ID: <201510070136.t971aMxd017917@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk> - 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 <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510070136.t971aMxd017917>