mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
1d9e7cf28d
net/samba-devel, net/samba-libsmbclient and net/samba ports. PR: 59599 Submitted by: Koop Mast (net/samba-libsmbclient maintainer) with changes by eik Approved by: dwcjr (net/samba-devel and net/samba maintainer), NAKAJI Hiroyuki (japanese/samba maintainer), and portmgr (5.2 freeze)
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
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
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://us3.samba.org/samba/ftp/%SUBDIR%/ \
|
|
http://us4.samba.org/samba/ftp/%SUBDIR%/ \
|
|
http://us5.samba.org/samba/ftp/%SUBDIR%/
|
|
MASTER_SITE_SUBDIR= . old-versions
|
|
PKGNAMESUFFIX= -libsmbclient
|
|
DISTNAME= ${PORTNAME}-3.0.0
|
|
|
|
MAINTAINER= einekoai@chello.nl
|
|
COMMENT= The shared lib from the samba packges
|
|
|
|
CONFLICTS= samba-3.*
|
|
|
|
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>
|