aboutsummaryrefslogtreecommitdiffstats
path: root/net/vether-kmod/Makefile
blob: 77aeaf963419fd4a0d14911be212381455305424 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $FreeBSD$

PORTNAME=   vether-kmod
DISTVERSION=    g20180802
CATEGORIES= net

MAINTAINER= henning.matyschok@outlook.com
COMMENT=    Virtual Ethernet Interface

LICENSE=    BSD2CLAUSE ISCL
LICENSE_COMB=   multi

USES=       kmod uidfix

USE_GITHUB= yes
GH_ACCOUNT= hmatyschok
GH_PROJECT= if_vether
GH_TAGNAME= 5877ad8ca636372790b8b10b5f87dafb583c6653

PLIST_FILES=    ${KMODDIR}/if_vether.ko \
        man/man4/if_vether.4.gz \
        man/man4/vether.4.gz
WRKSRC_SUBDIR=  src

post-install:
    @${MKDIR} ${STAGEDIR}${PREFIX}/man/man4
    ${INSTALL_DATA} ${WRKSRC}/if_vether.4 ${STAGEDIR}${PREFIX}/man/man4
    @${RLN} ${STAGEDIR}${PREFIX}/man/man4/if_vether.4 \
        ${STAGEDIR}${PREFIX}/man/man4/vether.4

.include <bsd.port.mk>