svn commit: r398733 - head/net/ocserv
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Oct 7 01:36:23 UTC 2015
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>
More information about the svn-ports-head
mailing list