Date: Fri, 5 Oct 2018 16:22:43 +0000 (UTC) From: "Serhii (Sergey) Kozlov" <skozlov@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r481284 - head/net/intel-ixl-kmod Message-ID: <201810051622.w95GMhaG063132@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: skozlov Date: Fri Oct 5 16:22:43 2018 New Revision: 481284 URL: https://svnweb.freebsd.org/changeset/ports/481284 Log: net/intel-ixl-kmod: Add had-linked man page Summary: - ixl has two hard-linked man pages: ixl(4) and if_ixl(4), before the port was only installing ixl(4) - Fix portline warning for USES while here Test Plan: Compile/sanity tested with poudriere w/portlint Approved By: sbruno (mentor) Differential Revision: https://reviews.freebsd.org/D17435 Modified: head/net/intel-ixl-kmod/Makefile Modified: head/net/intel-ixl-kmod/Makefile ============================================================================== --- head/net/intel-ixl-kmod/Makefile Fri Oct 5 16:22:03 2018 (r481283) +++ head/net/intel-ixl-kmod/Makefile Fri Oct 5 16:22:43 2018 (r481284) @@ -3,6 +3,7 @@ PORTNAME?= ixl PORTVERSION?= 1.9.13 +PORTREVISION?= 1 CATEGORIES= net MASTER_SITES= https://downloadmirror.intel.com/${MASTER_SITE_SUBDIR}/ \ http://downloadmirror.intel.com/${MASTER_SITE_SUBDIR}/ @@ -15,6 +16,8 @@ COMMENT?= 40 gigabit FreeBSD Base Driver for Intel(R) LICENSE= BSD2CLAUSE +USES= kmod + # Present version of net/intel-em-kmod has issues building with netmap(4) # support on 11+. Narrowing netmap(4) support to this port only .if ${PORTNAME} == ixl @@ -30,15 +33,19 @@ NETMAP_ON_CFLAGS= -DDEV_NETMAP NETMAP_OFF_CFLAGS= -UDEV_NETMAP .endif -USES= kmod WRKSRC_SUBDIR= src SUB_FILES= pkg-message SUB_LIST= PORTNAME=${PORTNAME} MANPAGENAME?= ${PORTNAME} +MANPAGELINKS?= if_${PORTNAME} PLIST_FILES= ${KMODDIR}/if_${PORTNAME}_updated.ko \ man/man4/${MANPAGENAME}.4.gz +.for link in ${MANPAGELINKS} +PLIST_FILES+= man/man4/${link}.4.gz +.endfor + .include <bsd.port.pre.mk> # Fixup for slave ports that use this as a master port. sbruno @@ -53,6 +60,10 @@ CFLAGS+= -DDEV_NETMAP do-install: ${INSTALL_KLD} ${WRKSRC}/if_${PORTNAME}.ko ${STAGEDIR}${KMODDIR}/if_${PORTNAME}_updated.ko - ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.4 ${STAGEDIR}${MAN4PREFIX}/man/man4/ + ${INSTALL_MAN} ${WRKSRC}/${MANPAGENAME}.4 ${STAGEDIR}${MAN4PREFIX}/man/man4/ + +.for link in ${MANPAGELINKS} + ${LN} ${STAGEDIR}${MAN4PREFIX}/man/man4/${MANPAGENAME}.4 ${STAGEDIR}${MAN4PREFIX}/man/man4/${link}.4 +.endfor .include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810051622.w95GMhaG063132>