aboutsummaryrefslogtreecommitdiffstats
path: root/net/samba-nmblookup/Makefile
blob: 904c3c63d1aaca2d218af787d5afcd2c775d4ff8 (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
32
33
# Created by: Hirohisa Yamaguchi <umq@ueo.co.jp>
# $FreeBSD$

PORTREVISION=       0
PORTEPOCH=      0
PKGNAMESUFFIX=      -nmblookup

COMMENT=        NetBIOS Name lookup tool

CONFLICTS=      ja-samba-[23].* samba-[2-4].*

SAMBA_PORT=     samba36
SAMBA_SUBPORT=      yes

MASTERDIR=      ${.CURDIR}/../${SAMBA_PORT}
PKGDIR=         ${.CURDIR}

PLIST_FILES=        bin/nmblookup \
            man/man1/nmblookup.1.gz \
            man/man5/smb.conf.5.gz

WITHOUT_ADS=        yes

ALL_TARGET=     bin/nmblookup

do-install:
    -@${MKDIR} ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/bin/nmblookup ${STAGEDIR}${PREFIX}/bin
    -@${MKDIR} ${MAN1PREFIX}/man/man1 ${STAGEDIR}${MAN5PREFIX}/man/man5
    ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/docs/manpages/nmblookup.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
    ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/docs/manpages/smb.conf.5 ${STAGEDIR}${MAN5PREFIX}/man/man5

.include "${MASTERDIR}/Makefile"