freebsd-ports/net/samba-libsmbclient/Makefile
Joe Marcus Clarke b1aac71b27 Add samba-libsmbclient, the library component for connected to SMB shares.
PR:		54821
Submitted by:	Koop Mast <einekoai@chello.nl>
2003-07-25 04:42:08 +00:00

38 lines
980 B
Makefile

# New ports collection makefile for: samba-libsmbclient
# Date created: 23 Juli 2003
# Whom: Koop Mast <einekoai@chello.nl>
#
# $FreeBSD$
#
PORTNAME= samba
PORTVERSION= 3.0.0.b3
CATEGORIES= net
MASTER_SITES= http://us4.samba.org/samba/ftp/%SUBDIR%/
MASTER_SITE_SUBDIR= beta alpha old
PKGNAMESUFFIX= -libsmbclient
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/beta/}
MAINTAINER= einekoai@chello.nl
COMMENT= The shared lib from the samba packges
USE_BZIP2= yes
USE_AUTOCONF= yes
WANT_AUTOCONF_VER= 253
INSTALLS_SHLIB= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/source
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
do-build:
cd ${WRKSRC} && ${MAKE} include/proto.h
cd ${WRKSRC} && ${MAKE} libsmbclient
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/include/libsmbclient.h ${PREFIX}/include
${INSTALL_SCRIPT} ${WRKSRC}/bin/libsmbclient.so ${PREFIX}/lib
${LN} -s ${PREFIX}/lib/libsmbclient.so ${PREFIX}/lib/libsmbclient.so.0
.include <bsd.port.mk>