freebsd-ports/net/samba-nmblookup/Makefile
Edwin Groothuis 1abc97d3d9 [new port] net/samba-nmblookup
There is a NetBIOS/tcp lookup tool nmblookup(1) included
	in samba suite.  It's quite useful, but installing whole
	samba suite is not always necessary.

	I wrote a port to install nmblookup(1) only.

Dutchman through the corner alert... What can I do against the
wrongly added directories?

PR:		ports/90375
Submitted by:	Hirohisa Yamaguchi <umq@ueo.co.jp>
2005-12-20 20:46:38 +00:00

43 lines
981 B
Makefile

# New ports collection makefile for: samba-nmblookup
# Date created: Mon Dec 5 17:00:56 JST 2005
# Whom: Hirohisa Yamaguchi <umq@ueo.co.jp>
#
# $FreeBSD$
#
PORTREVISION= 1
PORTEPOCH= 0
PKGNAMESUFFIX= -nmblookup
COMMENT= NetBIOS Name lookup tool
CONFLICTS= ja-samba-2.* ja-samba-3.* samba-2.* samba-3.*
SAMBA_PORT= samba3
SAMBA_SUBPORT= yes
.if ${SAMBA_PORT} != "samba3"
BROKEN= "Does not build with samba-2 port"
.endif
MASTERDIR= ${.CURDIR}/../../net/${SAMBA_PORT}
PKGDIR= ${.CURDIR}
MAN1= nmblookup.1
MAN5= smb.conf.5
PLIST_FILES= bin/nmblookup
# This is taken from SAMBA_PORT
WITHOUT_ADS= yes
do-build:
cd ${WRKSRC} && ${MAKE} include/proto.h
cd ${WRKSRC} && ${MAKE} bin/nmblookup
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/nmblookup ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/../docs/manpages/nmblookup.1 ${MAN1PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/../docs/manpages/smb.conf.5 ${MAN5PREFIX}/man/man5
.include "${MASTERDIR}/Makefile"