# New ports collection makefile for: samba-libsmbclient # Date created: 23 Juli 2003 # Whom: Koop Mast # # $FreeBSD$ # PORTNAME= samba PORTVERSION= 3.0.2a CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SAMBA} MASTER_SITE_SUBDIR= . old-versions PKGNAMESUFFIX= -libsmbclient MAINTAINER= kwm@rainbow-runner.nl COMMENT= The shared lib from the samba packages USE_BZIP2= yes USE_SIZE= yes GNU_CONFIGURE= yes 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/libsmbclient.so.0 ${LN} -s ${PREFIX}/lib/libsmbclient.so.0 ${PREFIX}/lib/libsmbclient.so .include